How to install RubyRails in Linux Server.
Before installing the RVM on the system you need to install curl. So the steps should go like below:
#sudo yum update
#sudo yum install curl
#curl -L get.rvm.io | bash -s stable
#source ~/.rvm/scripts/rvm
#rvm requirements
It will show you all required dependency packages like below
Additional Dependencies:
# For Ruby / Ruby HEAD (MRI, Rubinius, & REE), install the following:
ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel ## NOTE: For centos >= 5.4 iconv-devel is provided by glibc
#rvmsudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel
#rvm install 1.9.2
#rvm use 1.9.2 –default
#rvm rubygems current
# gem install rails
Verify Rails install version :
# ruby -v
# gems -v
# rails -v
Thanks:)