Bugs item #26936, was opened at 2009-08-17 23:57
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=26936&group_id=126
Category: `gem install` command
Group: v1.3.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Dr Nic Williams (nicwilliams)
Assigned to: Nobody (None)
Summary: undefined method `prerelease?' for nil:NilClass
Initial Comment:
In both ruby18 and ruby19, rubygems 1.3.5 gives off "undefined method
`prerelease?' for nil:NilClass" errors a lot. I can't isolate exactly what is
causing it.
How do I rollback to an old rubygems version?
----------------------------------------------------------------------
>Comment By: Luis Lavena (luislavena)
Date: 2009-08-18 03:15
Message:
Sounds more like a corrupt index than a bug in the gem dependencies.
Did you have by change github as a source repository? There are a couple of
bugs over there that are making gem installation a real pain.
Please try:
sudo gem install rails --debug -V
----------------------------------------------------------------------
Comment By: Dr Nic Williams (nicwilliams)
Date: 2009-08-18 03:13
Message:
I think the bug is related to gems with dependencies:
~$ sudo gem install rails
Password:
ERROR: While executing gem ... (NoMethodError)
undefined method `prerelease?' for nil:NilClass
~$ sudo gem install activerecord
ERROR: While executing gem ... (NoMethodError)
undefined method `prerelease?' for nil:NilClass
~$ sudo gem install activesupport
Successfully installed activesupport-2.3.3
1 gem installed
----------------------------------------------------------------------
Comment By: Chad Woolley (thewoolleyman)
Date: 2009-08-18 03:08
Message:
You can rollback by running setup.rb from an old version - it has worked for me.
----------------------------------------------------------------------
Comment By: Dr Nic Williams (nicwilliams)
Date: 2009-08-18 00:35
Message:
An example of the bug vs no bug:
gem install merb - causes the bug
gem install merb-core - no bug
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=575&aid=26936&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers