What version of rails?!?!
by Thomas Aylott Tue, 08 Nov 2005 05:04:00 GMT
How do you figure out what version of rails you have installed?
I finally found out by using the command to create a new rails app and looked in the generated changelog.
Ug.
Your should be able to do rails -v or something.
Any clue? anyone?

In the railties directory, the Rakefile contains a version number. I don’t know if this is the best way either, but maybe easier than creating a whole new rails app:
$ grep ^PKG_VERSION /usr/share/rails/railties/Rakefile PKG _VERSION = ‘0.13.1’ + PKG _BUILD
Actually, I’m running 0.14.3 and I can do just as you desired.
If you installed Rails via gem, might I suggest
gem list rails
Apparently Dreamhost has updated to Rails 0.14.3 now, too. I can now just run
rails -vand get backRails 0.14.3without any trouble at all.Thanks you guys :D
The newest rails also has ./script/about that tells you the gory details.