Ruby on Rails, Aptana Studio

This weekend, I decided to give Ruby on Rails a go, considering I just finished school and I’ll have plenty of free time to explore.

I downloaded Aptana Studio and installed Ruby, Rails, PHP, and a few extra ruby gems for fun. Then, I went over to the Rails Guide to follow along and do some learnin’. At the end of the guide, I ran the completed blog application and received errors. A little googling helped me find the solution.

Apparently, Aptana doesn’t install the latest build of gems from its repositories, and the guide was written for the newest version.
As noodlygod writes on the forum linked above:

<blockquote>
  <p>
    Hello, I just thought I&#8217;d post something as I had the same problem on Windows.
  </p>
</blockquote>

<blockquote>
  <p>
    I tried running the command &#8220;gem install rails &#8211;source http://gem.rubyonrails.org&#8221; but I received the error: &#8220;actionpack requires rack (>= 0.9.0, runtime)&#8221;
  </p>
</blockquote>

<blockquote>
  <p>
    So I ran &#8220;gem install rack&#8221; which installed something<br /> And then &#8220;gem install rails &#8211;source http://gem.rubyonrails.org&#8221; and it installed 2.3.0 just fine.
  </p>
</blockquote>

<blockquote>
  <p>
    Based on this post: http://railsforum.com/viewtopic.php?pid=89050<br /> I also changed my rails version in environment.rb to &#8220;2.3.0&#8221; and renamed &#8220;application.rb&#8221; to &#8220;application_controller.rb&#8221; and everything is working. Thanks a bunch for the info!
  </p>
</blockquote>