When running script/server, I was getting the error message
Rails requires RubyGems >= . Please install RubyGems and try again: http://rubygems.rubyforge.org [1]
- Ruby Enterprise Edition in /opt/ruby-enterprise/bin
- Ubuntu's default ruby
apt-get remove rubyfixed the problem