rod mclaughlin


How to Install Rails on Ubuntu 9 (05 may 09)

Ubuntu 9, 'Jaunty Jackalope', is out.

I have version 9.04.

It's a lot easier to install Rails than on Ubuntu 8.

Here you go:

 

Choose Applications...Accessories...Terminal from the menu at the top, then enter
sudo apt-get install rubygems
    [Enter password]

sudo apt-get install ruby
    [Answer 'Y' to all questions]

sudo gem install rails

sudo apt-get install libopenssl-ruby

sudo apt-get install ruby1.8-dev

sudo apt-get install sqlite3

sudo apt-get install libmysql-ruby1.8

sudo apt-get install libmysqlclient15-dev

sudo gem install mysql

sudo apt-get install mysql-server
    [Think of a password for 'root' MySql user]

sudo apt-get install rake

rails myapp

cd myapp

script/server &
    [Point browser at localhost:3000]

 



Back
Portland London