Monday, November 23, 2015

Installing RVM in deployment Server

1) Update all latest packages
  • sudo apt-get update

2) Update gpg Keypair
  • gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
If its failed then run the below command
  • command curl -sSL https://rvm.io/mpapis.asc | gpg --import -

3) Install RVM
  • curl -sSL https://get.rvm.io | bash -s stable

4) Load RVM
  • source ~/.rvm/scripts/rvm

5) Install RVM dependancies
  • rvm requirements

6) Install required dependancies
  • rvmsudo /usr/bin/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



No comments:

Post a Comment