[jruby-user] jruby-jars 1.6.0 update bug on 1.6.0.RC3?

8 views
Skip to first unread message

Jon

unread,
Mar 15, 2011, 4:25:03 PM3/15/11
to us...@jruby.codehaus.org
Submit a JIRA or is it my specific configuration issue?

C:\Users\Jon>jgem outdated
jruby-jars (1.5.6 < 1.6.0)

C:\Users\Jon>jgem update jruby-jars
Updating installed gems
Updating jruby-jars
ERROR: Error installing jruby-jars:
invalid gem format for C:/jruby/lib/ruby/gems/1.8/cache/jruby-jars-1.6.0.gem
Nothing to update


C:\Users\Jon>jruby --version
jruby 1.6.0.RC3 (ruby 1.8.7 patchlevel 330) (2011-03-08 bb55fc0) (Java HotSpot(TM) Client
VM 1.6.0_24) [Windows 7-x86-java]

C:\Users\Jon>jgem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.6.2
- RUBY VERSION: 1.8.7 (2011-03-08 patchlevel 330) [java]
- INSTALLATION DIRECTORY: C:/jruby/lib/ruby/gems/1.8
- RUBY EXECUTABLE: C:/jruby/bin/jruby.exe
- EXECUTABLE DIRECTORY: C:/jruby/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-java-1.6
- GEM PATHS:
- C:/jruby/lib/ruby/gems/1.8
- C:/Users/Jon/.gem/jruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "install" => "--no-rdoc --no-ri --env-shebang"
- "update" => "--no-rdoc --no-ri --env-shebang"
- :sources => ["http://rubygems.org", "http://gemcutter.org"]
- "gem" => "--no-ri --no-rdoc"
- REMOTE SOURCES:
- http://rubygems.org
- http://gemcutter.org


Jon

---
blog: http://jonforums.github.com/
twitter: @jonforums

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Jon

unread,
Mar 15, 2011, 4:57:18 PM3/15/11
to Thomas E Enebo, us...@jruby.codehaus.org
ah...had to manually delete the previously download gem from lib/ruby/gems/1.8/cache/ and all's well...thanks.

C:\Users\Jon>gem update jruby-jars


Updating installed gems
Updating jruby-jars

Fetching: jruby-jars-1.6.0.gem (100%)
Successfully installed jruby-jars-1.6.0
Gems updated: jruby-jars

> I think you must have did this at the same time I was pushing this
> gem. I can install a local copy and the remote one on rubygems now.
> Can you try again?
>
> -Tom

> --
> blog: http://blog.enebo.com       twitter: tom_enebo
> mail: tom....@gmail.com

Thomas E Enebo

unread,
Mar 15, 2011, 5:01:56 PM3/15/11
to Jon, us...@jruby.codehaus.org
Weird that gem push could do this to a person....a temp directory
would do wonders for this command :)

-Tom

Jon

unread,
Mar 15, 2011, 5:32:11 PM3/15/11
to Thomas E Enebo, us...@jruby.codehaus.org
Agreed. I wonder if the current rubygems.org code is even trying the old rename-tempfile-to-realname-upon-successful-upload trick or whether the realname is being used throughout.

Probably should ping rubygems.org especially given the caching behavior of rubygems downloads. I'll post to rubygems.org and refer back to this issue since you're all busy pushing for 1.6.0 release :)

Jon

Thomas E Enebo

unread,
Mar 15, 2011, 4:44:36 PM3/15/11
to us...@jruby.codehaus.org, Jon
I think you must have did this at the same time I was pushing this
gem. I can install a local copy and the remote one on rubygems now.
Can you try again?

-Tom

On Tue, Mar 15, 2011 at 3:25 PM, Jon <jon.f...@gmail.com> wrote:

--

blog: http://blog.enebo.com       twitter: tom_enebo
mail: tom....@gmail.com

---------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages