HTTPS clone URL
Subversion checkout URL
Lighweight drop-in replacement for rubygems.
Fetching latest commit...
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
MiniGems ======== A lightweight drop-in replacement for the rubygems to facilitate faster loading of gems as well as reducing memory consumption considerably. Depending on the amount of gems you have installed about 10-20 MB less RAM will be used, compared to the full rubygems library version, which keeps a cache of all gems and files referenced by them. Minigems handles loading of required gems from your scripts. If however, other functionality is needed, the full rubygems library will be loaded automatically to continue normal operation. You'll need to run 'sudo minigem setup' to get started; this will install minigems.rb in your site_ruby directory, which makes it available to all your ruby scripts. MiniGems is enabled on a per-gem basis. To do so, you run 'minigem prepare', for example, say we want the binary executables for merb-core (the 'merb' command) to use minigems (most likely with sudo permissions): minigem prepare merb-core To use minigems in your own scripts, use the following construct, instead of the common 'require "rubygems"' statement: require 'minigems' There's currently a patch pending on RubyForge, to get minigems into the standard, rubygems system. If you like minigems, please post a vote/followup: http://rubyforge.org/tracker/?func=detail&atid=577&aid=21979&group_id=126