SciClops - Installing Ruby on Rails

Updating Debian

Now that we have the TS7200 booting Debian linux from the compact flash we can install the development tools that we need.

The first step is to update debian using the apt-get functionality:

apt-get update

Initially this was not working because of a failed DNS lookup for the debian ftp site. This problem was fixed by pointing to the proper ip address for our office router. This change was made in /etc/resolv.conf.

Installing Ruby

To instal Ruby use the apt-get functionality:

apt-get install ruby libyaml-ruby libzlib-ruby

Installing RubyGems

RubyGems is the package manager for Ruby. Go to RubyForge to determine the path to the latest version. To install RubyGems type:

cd /usr/local/src
wget http://rubyforge.org/frs/download.php/38646/rubygems-1.2.0.tgz
tar zxf rubygems-1.2.0.tgz
cd rubygems-1.2.0
ruby setup.rb

The command gem did not work for me after this installation so i had to add a symbolic link:

sudo ln -s gem1.8 gem

Installing Rails

Finally we can install the package that we will use the most, Rails. Install rails with gem by typing:

gem install rails

Now that the development system is finally up and running we can start with our SciClops plans!

Posted In

Post new comment

The content of this field is kept private and will not be shown publicly.