Install rails - Ubuntu Intrepid Ibex (8.10)

  1. sudo apt-get update
  2. sudo apt-get dist-upgrade
  3. sudo apt-get install build-essential
  4. sudo apt-get install mysql-server mysql-client
  5. sudo apt-get install subversion subversion-tools git
  6. sudo apt-get install ruby irb ri rdoc ruby1.8 libyaml-ruby libzlib-ruby
  7. sudo apt-get install lynx
  8. cd /usr/local/src
  9. sudo lynx http://rubyforge.org/projects/rubygems/
    • Find the download link for the latest release and download it ('D') and save it to the directory you are in (just hit 'enter' when it asks where to save)
  10. tar xzvf rubygems-1.3.1.tgz
  11. cd rubygems-1.3.1
  12. sudo ruby setup.rb
  13. sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
  14. sudo gem update --system
  15. sudo gem install rails
  16. Install eclipse
    • Install your favourite Java runtime (e.g. "sudo apt-get install sun-java6-jre")
    • Install Ecplise "sudo apt-get install eclipse"
    • startup the ecplise IDE
    • go to the help menu, select "Software Update", select "Find and Install..."
    • go to "Search for new features to install"
    • click on "Next", the "Install" dialog should open
    • add a "New Remote" site "http://update.aptana.com/update/studio/3.2/"
    • select the new added remote site and click "Finish"
    • the plugin repository should update and "Aptana" plugin should be offered
      to be installed
    • install the "Aptana" plugin
    • the Eclipse IDE restarts
    • select "Aptana Studio Start Page" from the Eclipse help menu
    • on the Aptana Start Page there is a link to install the "RadRails" plugin
    • install RadRails
    • the Eclipse IDE restarts
    • it asks the paths to your ruby installation, setup you prefered one

Also available in: HTML TXT