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 updateInitially 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 RubyTo instal Ruby use the apt-get functionality:apt-get install ruby libyaml-ruby libzlib-rubyInstalling RubyGemsRubyGems is the package manager for Ruby. Go to RubyForge to determine the path to the latest version. To install RubyGems type:cd /usr/local/srcwget http://rubyforge.org/frs/download.php/38646/rubygems-1.2.0.tgztar zxf rubygems-1.2.0.tgzcd rubygems-1.2.0ruby setup.rbThe command gem did not work for me after this installation so i had to add a symbolic link:sudo ln -s gem1.8 gemInstalling RailsFinally we can install the package that we will use the most, Rails. Install rails with gem by typing:gem install railsNow that the development system is finally up and running we can start with our SciClops plans!

_uacct = "UA-1270777-6";
urchinTracker();

Reply

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options