Reputation: 14504
I have a Rails app that I dont know what version it is.
Here is the app directory:
Upvotes: 1
Views: 105
Reputation: 25774
Take a look at your config/environment.rb
file. You should see a line like:
RAILS_GEM_VERSION = 'x.x.x' unless defined? RAILS_GEM_VERSION
where x.x.x should be your version.
That being said, you also have to make sure that there is no version of Rails in your vendor
directory, as that will override whatever gem version it might try loading.
Upvotes: 5
Reputation: 166
Check config/environment.rb.
Can you boot the app? If so, start the console, it will tell you the exact version.
Upvotes: 3
Reputation: 8269
There's no Gemfile, that would suggest it's version 2.something
Upvotes: 0