gem update --system crashes with NPE
------------------------------------
Key: JRUBY-5996
URL: https://jira.codehaus.org/browse/JRUBY-5996
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6.3
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]
Reporter: Arturas Slajus
Assignee: Thomas E Enebo
Priority: Blocker
JRuby crashes out when trying to update RubyGems.
{noformat}
arturas@arturaz-fujitsu:~/work/nebula-web/www$ gem update --system
Updating RubyGems
ERROR: While executing gem ... (NoMethodError)
undefined method `version' for nil:NilClass
{noformat}
Which is needed in order to install autotest.
{noformat}
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.
{/noformat}
Please not that even if this is tested with JRuby master branch, 1.6.3 fails as
well.
--
This message is automatically generated by JIRA.
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