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?
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.