News:

SMF - Just Installed!

Main Menu

How to update Ruby On Rails?

Started by Dipak Bhoi, February 23, 2015, 04:01:48 PM

Previous topic - Next topic

Dipak Bhoi

Hello Guys,

One of our customer was facing an issue while installing an application in Ruby On Rails. He was receiving an error as below:

QuoteRails version 2.3.14 is installed. However, version 2.3.18 is required.
Please contact your web hosting provider to have Rails updated.

You need to update your Ruby On Rails version. Beneath are the steps to update it.

First you need to check the current version on the server:

Quote#ruby -v

ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]

Quote#  gem -v
1.8.20

OR

Quote#rails -v
Rails 2.3.14

Update Ruby On Rails : below command will update Rails to the most recent version.

Quote#gem update rails

If you wish to update it with the version you want then run below command:

Quote#gem install rails -v 2.3.18

Now check the Rails version, you can see new one.

Quote#rails -v
Rails 2.3.18

Hope you like this post...

Enjoy !! :)


MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.