On 19 Jan 2009, at 00:24, Kedar Mhaswade wrote:

>
> Sorry to ask a question that appears like the one posed by a n00b.
> (Maybe I am going blind, seriously).
>
> I have searched the forum for it, but couldn't find it.
>
> How can I tell which version of rails I am running? Doing "rails -v"
> fails. That's another question -- why does it fail -- why can't it  
> tell
> me the version string?
>
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

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to