Ruby on Rails Setup on Ubuntu 9.10
I'm working on a Ruby on Rails project right now and had to setup an environment on my Ubuntu 9.10 system. Here are the install commands for your reference if you want to get it done fast.
I wanted to have the newest version of the Ruby language (1.9) and Rails plus some extra packages (MySQL support, aspect oriented programming support, debugging support etc.). Some parts needed to be installed from the ubuntu package manager (apt) and some parts were retrieved by the ruby package manager (gem):
sudo apt-get install ruby1.9.1 sudo rm /usr/bin/ruby sudo ln -s ruby1.9.1 /usr/bin/ruby sudo apt-get install rubygems1.9.1 sudo apt-get install libopenssl-ruby1.9.1 sudo apt-get install ruby1.9.1-dev sudo apt-get install mysql-server sudo apt-get install libmysqlclient-dev sudo apt-get install libsqlite3-dev sudo gem install rails sudo gem install sqlite3-ruby sudo gem install mysql sudo gem install aquarium sudo gem install ruby-debug19
Further steps: there is a very good tutorial screencast available online which shows the power of Rails in 15 minutes.