Frederick Cheung wrote: > On 19 Jan 2009, at 00:24, Kedar Mhaswade wrote: > >> > In what way does it fail ? > That aside, rails -v tells you what the latest version of rails on > your computer is, which isn't the same thing as what version your > rails apps are running. > That can be controlled by > - having RAILS_GEM_VERSION set to something in environment.rb > - having rails frozen into vendor/rails > > when you run script/console or script/server it should tell you what > version of rails its loading. > > Fred
Thank you. But I don't think rails -v works. I think I have rails 2.0.2 or something like that (and that's what I am trying to ascertain) but on my Ubuntu here is what happens: ke...@kedar-laptop:~/Projects/ror/people$ which rails /usr/bin/rails ke...@kedar-laptop:~/Projects/ror/people$ rails -v getopt: invalid option -- v Terminating... -Kedar -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---