Browse the Ruby on Rails Community.

You are here: Browse Railsplugins Frozen Gems

Frozen Gems

The FrozenGems plugin gives your Rails application its own private gem library, in vendor/gems.

To manage your app’s gems, use the script/gem command (which is just a wrapper for the standard gem command and uses the same syntax). For example:

$ script/gem install xml-simple
Executing 'gem install' with --no-rdoc and --no-ri options
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed xml-simple-1.0.11

Gems are installed without RDoc and ri documentation; other than that, the behavior should be the same as the standard gem command. (Due to a bug in RubyGems, the first attempted installation will probably fail; subsequent attempts should succeed.)

Scripts and tasks that load environment.rb will have access to the application’s gem library. Gems in the system-wide gem library are still accessible to your app, but gems in the private library will be found first. (One consequence of this is that ‘script/gem list’ will show all of the gems installed in both libraries.)

Author: Glenn Vanderburg <glv>

NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly

Users


See all details


Membership

+ Join this railsplugin

Record Maintainer

'None'