Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.3
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: None
-
Labels:None
-
Environment:Linux arturaz-fujitsu 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 i686 i686 i386 GNU/Linux
jruby 1.7.0.dev (ruby-1.8.7-p330) (2011-08-14 c4ff7e1) (Java HotSpot(TM) Client VM 1.7.0) [linux-i386-java]
-
Number of attachments :
Description
JRuby crashes out when trying to update RubyGems.
arturas@arturaz-fujitsu:~/work/nebula-web/www$ gem update --system
Updating RubyGems
ERROR: While executing gem ... (NoMethodError)
undefined method `version' for nil:NilClass
Which is needed in order to install autotest.
arturas@arturaz-fujitsu:~/work/nebula-web/www$ gem install autotest Fetching: ZenTest-4.6.1.gem (100%) ERROR: Error installing autotest: ZenTest requires RubyGems version ~> 1.8. Try 'gem update --system' to update RubyGems itself.
Please not that even if this is tested with JRuby master branch, 1.6.3 fails as well.
Although updating in this way works fine: