Install rails - Ubuntu Intrepid Ibex (8.10)¶
- Preliminary setup
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install build-essential
sudo apt-get install mysql-server mysql-client libmysqlclient15-dev
sudo apt-get install subversion subversion-tools git-core
sudo apt-get install lynx
- Install Ruby
sudo apt-get install libopenssl-ruby ruby irb ri rdoc ruby1.8 libyaml-ruby libzlib-ruby ruby1.8-dev
- Install RubyGems
cd /usr/local/src
- Install Rails and friends
sudo gem install rails
sudo gem install rails --version 1.2.6
sudo gem install mysql
sudo gem install capistrano
sudo gem install mongrel
- Install Deprec from source
mkdir -p ~/src
cd ~/src
git clone git://github.com/mbailey/deprec.git
cd deprec
gem build deprec.gemspec
sudo gem install deprec-1.99.30.gem
cd ..
- Install eclipse
- Install your favourite Java runtime (e.g. "sudo apt-get install sun-java6-jre sun-java6-jdk")
- Install Ecplise "sudo apt-get install eclipse"
- Download aptana plugin
mkdir -p ~/src
cd ~/src
wget http://update.aptana.com/install/studio/3.2/aptana_update_020137.zip
- Install aptana plugin
- startup the ecplise IDE
- Open Eclipse, go to Help -> Software Updates -> Find and Install
- Search for new features to install -> Next -> New Archived Site -> Select the file saved in step 1 at ~/src/aptana_update_020137.zip
- Select the entry for the plugin's update site -> Finish
- Select the appropriate plugins to install -> Next -> Accept -> Next
- Finish
- then the Eclipse IDE restarts
- install subclipse plugin which aptana depends on (it will prompt you automatically to do this)
- then the Eclipse IDE restarts... again
- Download radrails plugin
mkdir -p ~/src
cd ~/src
wget http://update.aptana.com/update/rails/3.2/org.radrails.rails_feature-1.0.3.200807071913NGT.zip
- Install radrails plugin
- startup the ecplise IDE
- Open Eclipse, go to Help -> Software Updates -> Find and Install
- Search for new features to install -> Next -> New Archived Site -> Select the file saved in step 1 at ~/src/org.radrails.rails_feature-1.0.3.200807071913NGT.zip
- Select the entry for the plugin's update site -> Finish
- Select the appropriate plugins to install -> Next -> Accept -> Next
- Finish
- then the Eclipse IDE restarts
- You are done. Go drink some milk.
Also available in:
HTML
TXT