Monday, November 7, 2011

Installing Rails on EC2

Mainly followed the steps outlined in this article to install Ruby on Rails:

http://blog.sudobits.com/2011/10/27/how-to-install-ruby-on-rails-in-ubuntu-11-10/

I did have to update the package list once to download all the dependent packages.

To get rails 3.1.1 working on ubunut I had to install javascript runtime (http://railsapps.github.com/installing-rails-3-1.html):

sudo apt-get install nodejs

Also, open port 3000 to allow testing of the rails installation:

$ ec2-authorize web -P tcp -p 3000 -s 0.0.0.0/0

No comments:

Post a Comment