AWS Redhat RHEL Install Ruby and Rails
From Hawk Wiki
Install latest ruby
- Note, in Redhat, this will install into /user/local directory
- By default, typing command ruby does not work. You would have to use /user/local/bin/ruby
sudo yum groupinstall "Development Tools" sudo yum install openssl-devel wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz tar xvfvz ruby-2.1.2.tar.gz cd ruby-2.1.2 ./configure make sudo make install
But you need some extra setup in order to use the installed ruby.
A simple method but the installed version is not latest.
sudo yum install rubygems
Install bundler
gem install bundler