Specifying Gem Versions
The require_gem command is used in your config/environment.rb file to specify the Gem version you want loaded for your application. Its syntax is shown below, using the Gem "actionpack" as an example:
To specify a range of versions, the following syntax is used:
When the version number is omitted, the latest Gem version is loaded.