When running script/server, I was getting the error message
<pre>
Rails requires RubyGems >= . Please install RubyGems and try again: http://rubygems.rubyforge.org
</pre>
<ul>
<li>Ruby Enterprise Edition in /opt/ruby-enterprise/bin</li>
<li>Ubuntu’s default ruby</li>
</ul>
<pre>
apt-get remove ruby
</pre>fixed the problem</code>