Can't update to 1.5 on Debian Lenny
Hi,
I have a bug that I can reproduce. On a Debian Lenny (up-to-date),
I have this error if I update rubygems to 1.5
Undefined method `load_yaml' for Gem:Module
I've attached a screenshot (passenger error) with the full backtrace, …
I've updated it with 'rubygems_update'.
If I revert back to 1.3.7 or 1.4.1, it works. If I update again to
1.5, it fails.
Let me know If there is some more information that I can give to be more specific and useful.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Eric Hodel on 01 Feb, 2011 07:15 PM
What does
gem envsay?What does
ruby -rubygems -e 'p Gem::VERSION; begin Gem.load_yaml; rescue; end'say?3 Posted by Andrew Willis on 01 Feb, 2011 07:34 PM
I got this same error, but restarting apache resolved it. I assume the same would apply for nginx.
Support Staff 4 Posted by Eric Hodel on 01 Feb, 2011 09:25 PM
oops, that second one should be
ruby -rubygems -e 'p Gem::VERSION; Gem.load_yaml'5 Posted by Jeremy Lecour on 01 Feb, 2011 10:05 PM
I've attached what you've asked for, with 1.4.1 and with 1.5.0
Support Staff 6 Posted by Eric Hodel on 01 Feb, 2011 10:24 PM
Looks like you need to restart your running applications to move them to rubygems 1.5
7 Posted by Jeremy Lecour on 01 Feb, 2011 10:32 PM
I'm pretty sure I did this, and the Passenger error seems to imply that they can't start. Am I wrong ? Anyway, I'll give it another try.
8 Posted by Jeremy Lecour on 01 Feb, 2011 10:35 PM
Well, I guess I was wrong. I've upgraded rubygems, then I restarted Apache (and not touched tmp/restart.txt in my apps) and everything seems to be OK.
Thanks for the help.
Support Staff 9 Posted by Eric Hodel on 01 Feb, 2011 10:37 PM
Sweet!
Eric Hodel closed this discussion on 01 Feb, 2011 10:37 PM.