Install rails - Ubuntu Intrepid Ibex (8.10)¶
- sudo apt-get update
- sudo apt-get dist-upgrade
- sudo apt-get install build-essential
- sudo apt-get install mysql-server mysql-client
- sudo apt-get install subversion subversion-tools git
- sudo apt-get install ruby irb ri rdoc ruby1.8 libyaml-ruby libzlib-ruby
- sudo apt-get install lynx
- cd /usr/local/src
- 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)
- tar xzvf rubygems-1.3.1.tgz
- cd rubygems-1.3.1
- sudo ruby setup.rb
- sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
- sudo gem update --system
- sudo gem install rails
- 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