Git Installation
$ sudo yum install git
rbenv install
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
$ source ~/.bash_profile
$ exec $SHELL
$ rbenv
ruby-build Installation
$ git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
OpenSSL install
$ sudo yum -y install openssl-devel
Ruby Installation
$ rbenv install 2.1.0
$ rbenv rehash
$ rbenv global 2.1.0
RDoc Installation
gem install rdoc
$ gem install rails
$ rbenv rehash
$ rails -v
bundler Installation
gem install bundler
MySQL Installation
$ sudo yum install -y mysql-server mysql-devel
$ sudo service mysqld start
$ sudo chkconfig mysqld on
$ mysql -u root -p
mysql> GRANT ALL PRIVILEGES ON *.* to 'rails'@'localhost' IDENTIFIED BY 'password';
VersionCheck
$ ruby --version
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
$ rails --version
Rails 4.1.6
$ gem -v
2.2.0