Thursday, September 11, 2008

How to figure out pre-installed ROR versions on a machine

Just in case, you are handed an already configured machine, complete with ROR setup.

To save some noise pollution asking people around for ROR environment/versions in your pre-configured machine :),

you are better off using the following command -

> ruby script\about

Would return something like this -

About your application's environment

Ruby version 1.8.6 (i386-mswin32)

RubyGems version 1.1.1

Rails version 2.0.2

Active Record version 2.0.2

Action Pack version 2.0.2

Active Resource version 2.0.2

Action Mailer version 2.0.2

Active Support version 2.0.2

Edge Rails revision 798

Application root C:/workspace/nr

Environment development

Database adapter mysql


  • You can also view individual versions like
> ruby -v

> gem --version