May 26

I just tried to upgrade to rails 2.0. Got some error when starting the server. Google it and then find out I might need to upgrade to a new version of rubygems. No problem, do an “sudo gem update –system”. Then run gem command. Shit! Got this error: uninitialized constant Gem::GemRunner. Now, I can’t even do gem install or uninstall. Now what? How can I go back to previous version of rubygems? More Googing. After another hour, find a post can fix the problem by adding this line require 'rubygems/gem_runner' to /usr/bin/gem. After that, gem is finally working. Run script/server again. Another problem: can load openssl. Google more. Find out need to install the libopenssl-ruby. Did that and finally everything worked. Time well spent? No!!! I am getting too old to waste time on doing upgrade.

Comments are closed.