How to install ruby and rails

Started by centosuser, April 21, 2016, 10:03:45 AM

Previous topic - Next topic

centosuser

Hi,
  Can you tell that How to install ruby and rails on server.please give me the steps.

thanks in advance.

Sandeep

you can find tons of tutorials online. Installation will be the same as centos (without cwp)

centosuser


Sandeep


locvfx

#4
Install Ruby
Quotesudo yum install -y ruby

install ruby gem
Quoteyum install -y ruby-devel ruby-irb ruby-rdoc ruby-ri
wget https://rubygems.org/rubygems/rubygems-2.6.11.zip
unzip https://rubygems.org/rubygems/rubygems-2.6.11.zip
cd rubygems-2.6.11
ruby setup.rb

Ruby on rail
Quotegem install rails -v 5.1.0.rc1

Or check this URL for latest version : http://rubyonrails.org/