How to tell which version of a gem a rails app is using
In Rails 3 and Rails 4, use bundle show
In Rails 2, rake gems
will print out what gems, dependencies, and versions are installed, frozen, etc.
If you use bundler, then you can get the version from
bundle show [gemname]