can't update to rubygems 1.7.2: undefined method `version' for nil:NilClass
---------------------------------------------------------------------------
Key: JRUBY-5730
URL: http://jira.codehaus.org/browse/JRUBY-5730
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6.1
Environment: jruby 1.6.1 (ruby-1.8.7-p330) (2011-04-12 85838f6) (Java
HotSpot(TM) 64-Bit Server VM 1.6.0_24) [darwin-x86_64-java]
Reporter: Stephen Bannasch
Assignee: Thomas E Enebo
While looking into [JRUBY-5581] I wondered if the problem would still occur if
rubygems was updated but I get the following error trying to update rubygems:
{noformat}
$ ruby -v
jruby 1.6.1 (ruby-1.8.7-p330) (2011-04-12 85838f6) (Java HotSpot(TM) 64-Bit
Server VM 1.6.0_24) [darwin-x86_64-java]
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.5.1
- RUBY VERSION: 1.8.7 (2011-04-12 patchlevel 330) [java]
- INSTALLATION DIRECTORY: /Users/stephen/.rvm/gems/jruby-1.6.1@xproject
- RUBY EXECUTABLE: /Users/stephen/.rvm/rubies/jruby-1.6.1/bin/jruby
- EXECUTABLE DIRECTORY: /Users/stephen/.rvm/gems/jruby-1.6.1@xproject/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-java-1.6
- GEM PATHS:
- /Users/stephen/.rvm/gems/jruby-1.6.1@xproject
- /Users/stephen/.rvm/gems/jruby-1.6.1@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "install" => "--no-rdoc --no-ri"
- "update" => "--no-rdoc --no-ri"
- "gem" => "--no-rdoc --no-ri"
- REMOTE SOURCES:
- http://rubygems.org/
$ gem update --system -V --backtrace
Updating RubyGems
ERROR: While executing gem ... (NoMethodError)
undefined method `version' for nil:NilClass
/Users/stephen/.rvm/rubies/jruby-1.6.1/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:137:in
`update_rubygems'
/Users/stephen/.rvm/rubies/jruby-1.6.1/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:54:in
`execute'
/Users/stephen/.rvm/rubies/jruby-1.6.1/lib/ruby/site_ruby/1.8/rubygems/command.rb:278:in
`invoke'
/Users/stephen/.rvm/rubies/jruby-1.6.1/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:133:in
`process_args'
/Users/stephen/.rvm/rubies/jruby-1.6.1/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:103:in
`run'
/Users/stephen/.rvm/rubies/jruby-1.6.1/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:63:in
`run'
/Users/stephen/.rvm/rubies/jruby-1.6.1/bin/gem:25:in `(root)'
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email