After upgrading my server to:
Ubuntu server 10.10
rake is unable to find itself:
Could not find rake-0.8.7 in any of the sources
gem list and ‘bundle list’ shows that rake-0.8.7 is installed!
When loading the webapp in the browser:
Could not find rake-0.8.7 in any of the sources (Bundler::GemNotFound)
Ruby 1.8.7 is also installed on this server, but the following
symbolic links have been created in ‘/usr/bin’:
ln -s ruby1.9.1 ruby
ln -s ri1.9.1 ri
ln -s rdoc1.9.1 rdoc
ln -s gem1.9.1 gem
ln -s irb1.9.1 irb
ln -s rake1.9.1 rake
/var/lib/gems/1.9.1/bin is in the $PATH.
Running rake in my home folder, with a minimal Rakefile, works!