6.05.2007

A Brief Ruby On Rails Install

On a debian system, that is properly configured, ruby on rails can be installed in six command-line steps.

1. sudo apt-get install ruby1.8 ruby1.8-dev rdoc libruby1.8 libzlib-ruby ri1.8
2. wget rubygems (currently available here. I'm sure this will change in the future)
3. tar -zxvf rubygems
4. cd rubygems
5. ruby setup.rb
6. sudo gem install rails mongrel postgres-rb --include-dependencies

Aaaannnnd, we're done!

On Mac, for testing purposes, just use locomotive. Despite mysql, migrations make it easy to ignore which database you use in production.

No comments: