Topic: Updating Rails

Hey Guys and Gals,

Ive just started to learn RoR, and am still fumbling around with the basics. With the recent security update announced i would like to update my local version of rails. I know its probably not neccesary, but i would still like to know how to do it. Also is there a way to check what version of rails is running, kind of like phpinfo?

I installed rails using this tutorial

Thanks for the help in advance.


Re: Updating Rails

You can check your current rails version using this command:

rails -v

And update it by running this command:

sudo gem update rails

At least that's what I did and it is working fine.

Railscasts - Free Ruby on Rails Screencasts

Re: Updating Rails

thanks very much sir! worked a treat!