The post shows a step-by-step installation of the Ruby on Rails on Ubuntu 10.04 LTS.
1. install build essential, github and
sudo apt-get install build-essential
2. install rvm (which includes ruby 1.9.3 and gem 1.8.19)
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
source ~/.bashrc
rvm requirement -- install output required libraries by copy and paste the output text
rvm install 1.9.3 -- it takes a while
copy and paste the text below at the end of ~/.bashrc:
[[-s "$HOME/.rvm/scripts/rvm"]] && . "$HOME/.rvm/scripts/rvm"
1. install build essential, github and
sudo apt-get install build-essential
2. install rvm (which includes ruby 1.9.3 and gem 1.8.19)
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
source ~/.bashrc
rvm requirement -- install output required libraries by copy and paste the output text
rvm install 1.9.3 -- it takes a while
3. install rails
copy and paste the text below at the end of ~/.bashrc:
[[-s "$HOME/.rvm/scripts/rvm"]] && . "$HOME/.rvm/scripts/rvm"
source $HOME/.bashrc
check the successful installation of rvm:
type rvm | head -1
output should be 'rvm is a function'
gem install rails --include-dependencies
Congratulations! You have successfully installed Ruby on Rails!
It is nice blog Thank you provide important information and i am searching for same information to save my time Ruby on Rails Online Training
ReplyDeleteThis comment has been removed by the author.
ReplyDelete