Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Lighweight drop-in replacement for rubygems.

tree: eb41d4d4f1

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
README
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 minigems --install' to get started; this will install
minigems.rb in your site_ruby directory, which makes it available to all your
ruby scripts.

To use minigems in your own scripts, use the following construct, instead of the 
common 'require "rubygems"' statement:

begin 
  require 'minigems'
rescue LoadError 
  require 'rubygems'
end
Something went wrong with that request. Please try again.