I had installed rubygems 1.8 and further on I had installed the rails 2.0.2 gem.
When I tried to view the rails version installed through the command
It didn't work.. I am unable to figure out why I am getting an "invalid option" on executing the command
rails -v ( Please refer the below for the same).
mohnish@mohnish-laptop:~/Downloads$ ruby -v ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux] mohnish@mohnish-laptop:~/Downloads$ gem list *** LOCAL GEMS *** actionmailer (2.0.2) actionpack (2.0.2) activerecord (2.0.2) activeresource (2.0.2) activesupport (2.0.2) rails (2.0.2) rake (0.8.7) mohnish@mohnish-laptop:~/Downloads$ rails -v getopt: invalid option -- 'v' Terminating... mohnish@mohnish-laptop:~/Downloads$
Could you please help me out on this regard..
Please note I am currently not making use of the ruby version manager(rvm). Please let me know if I could get a solution once I install the rvm.
Thanks for your help..