RVM
INSTALLATION IN UBUNTU 13
Step
1:The first step is to install some dependencies for Ruby.
$
sudo
apt-get update
$
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config libgdbm-dev libffi-dev libreadline-dev
step3:
Then, run the installer:$ curl -L https://get.rvm.io | bash -s stable
step4:Make rvm acessible to your enviroment:
$ echo ‘source ~/.rvm/scripts/rvm’ » ~/.bash_aliases && bash
step
5:
To
check rvm requirements
$ rvm requirements
step
6:
Install
Ruby 1.9.3:
$ rvm install 1.9.3
step 7:
Make 1.9.3 the default version:
$ rvm use 1.9.3 –default
step 8**:
And, finally, rails:
$ gem install rails
TO GIVE ALIAS NAME FOR RVM
$rvm alias create [newname] [rvm version]
EX:$rvm alias create latest ruby-2.0.0-p247
No comments:
Post a Comment