Jruby-jars 1.6.0 update bug on 1.6.0.RC3?

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™ 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:

Jon


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

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 [email protected] wrote:

Nothing to update

  • INSTALLATION DIRECTORY: C:/jruby/lib/ruby/gems/1.8
    • :verbose => true

http://xircles.codehaus.org/manage_email


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]

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

jruby-jars (1.5.6 < 1.6.0)
jruby 1.6.0.RC3 (ruby 1.8.7 patchlevel 330) (2011-03-08 bb55fc0) (Java
HotSpot™ Client

  • ruby
  • “install” => “–no-rdoc --no-ri --env-shebang”


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]

Jon


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

Weird that gem push could do this to a person…a temp directory
would do wonders for this command :slight_smile:

-Tom

On Tue, Mar 15, 2011 at 3:57 PM, Jon [email protected] wrote:

jruby-jars (1.5.6 < 1.6.0)
jruby 1.6.0.RC3 (ruby 1.8.7 patchlevel 330) (2011-03-08 bb55fc0) (Java
HotSpot™ Client

  • ruby
  • “install” => “–no-rdoc --no-ri --env-shebang”

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


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]

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 :slight_smile:

Jon

Updating jruby-jars

-Tom

ERROR: Error installing jruby-jars:


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]

Jon


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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs