binni-6eh5JQIm30aHXe+LvDLADg@public.gmane.org
2011-Nov-16 13:29 UTC
How can I tell in what version of code Rails is written in?
Hi all I''ve just been given a copy of a Rails application and looking at the files it seems to be older than version 2.3 (uses .rhtml eg) but is there any way to find out the Rails version an application is written for just from looking at the files? Thanks in advance Brynjolfur -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung
2011-Nov-16 15:00 UTC
Re: How can I tell in what version of code Rails is written in?
On Nov 16, 1:29 pm, "bi...-6eh5JQIm30aHXe+LvDLADg@public.gmane.org" <bi...-6eh5JQIm30aHXe+LvDLADg@public.gmane.org> wrote:> Hi all > > I''ve just been given a copy of a Rails application and looking at the > files it seems to be older than version 2.3 (uses .rhtml eg) but is > there any way to find out the Rails version an application is written > for just from looking at the files? >Take a look at the Gemfile (if there is one) or look for RAILS_GEM_VERSION (i think) in environment.rb. Also check whether rails has been frozen into the app at vendor/rails Fred> Thanks in advance > > Brynjolfur-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.