It's always a good idea to freeze your gems in your Ruby on Rails app when you don't have full control over your hosting environment.
To freeze any gems that are listed inside your Rails::Initializer config block just run the following on the command line...
rake gems:unpack
Your gems will be frozen in the vendor/gems directory.
Alternatively you can freeze a specific gem version by...
[~/yourapp/vendor/gems] gem unpack gem_name -v=<version>
About Paul
Paul works for Kyan web design agency in Surrey, UK as a Ruby on Rails developer.
Follow Paul on Twitter
Email: paulsturgess [at] gmail.com
Got something to say?