Abbey Workshop
OSX
XML
All

Entry

Installing Ruby on Rails on Ubuntu 6.06 Dapper Drake

07-02-2006 23:01:12 by MikeW in categories: General Ruby Ruby on Rails

First I have to say, getting Ruby on Rails to work on Ubunutu Linux has been a pretty hellish experience. Well, getting Ruby on Rails to work on anything has been a pretty hellish experience. But now, I have conquered the beast and can more or less follow along in the Ruby on Rails Agile programming book. Woot!

To prevent some other poor programmer from having the same fun experience I thought I would share what I have learned. The steps below are for installing Ruby, Rails, and SQLite3. I am planning to use SQLite three because of the simplicity and freedom it provides compared to other database products.

Do all the following commands using sudo or as root. I just use sudo bash and execute them consecutively.

Install Ruby

First, Ruby is not installed on Ubuntu by default. So here are the steps to get everything. You need the dev package and rdoc to have everything in place for rails.

Install Ruby Gems

The dev package from above is required to install gems. Otherwise you will be missing some header files. To install gems:

Install sqlite3

Install all the sqlite3 debian packages.

Install sqlite3-ruby

Install the ruby sqlite debian packages.

Install Rails

Now that all the packages are in place, you can install rails using Ruby gems.

gem install rails

That should do the trick. Enjoy.

Google
  Web abbeyworkshop.com  

Copyright © Abbey Workshop 2006

Blog Home

Archives

Current Year: 2007
Months: 01 02 03 05 06 07 09

Blog Links

Friends
Elementary Penguin
Random Dribble
Scotty's Engineering Log
Vegetarian Conspiracy

IP Audio/Video
diggnation
nerdtv
twit.tv

Programming
Artima Ruby Buzz
PHP Developer

XML
Tim Bray
Planet XML
xml.com

Categories

General
XML