Remove or comment out any config.gem lines from config/environment.rb or config/environments/*.rb

Install the gems into your project and keep them up to date using:

rake dependencies:sync

Alternatively you can use the following rake task to read your existing config.gem declarations and output a file suitable for this plugin. This task will appropriately handle any gems that you are currently loading on a per-environment basis as well.