MicroGem
The aim of this project is, at first, to create a re-implementation of the RubyGems install command, which should be easier to get up and running on Ruby implementations such as MacRuby.
See the TODO file for a list of todo’s.
Installation
On Ruby with working RubyGems
$ sudo gem install alloy-microgem -s http://gems.github.com
On Ruby without working RubyGems (eg MacRuby)
Get source:
$ git clone git://github.com/alloy/microgem.git
$ cd microgem
Install the remote gem:
$ sudo env PRODUCTION=true macruby ./bin/
µgem banner
Microgem is an unsophisticated package manager for Ruby.
And the first commandline utility to start with a multibyte character;
Getting started
Get the source:
$ git clone git://github.com/alloy/microgem.git
Install a gem:
$ ./bin/
Note that unless you set the PRODUCTION environment variable everything is installed in ./tmp.
The current default sources are rubyforge and github.
Limitations
There are a lot of limitations currently compared to RubyGems. The most important ones are:
-
Does not install C extensions yet.
Development
The way it’s being developed is in a test and RubyGems data driven manner. We are using the ‘quick’ marshalled specs, so we use those fixtures to run the tests.
Goals
-
Install gems.
-
Small.
-
Test driven.
-
Clean room design.
-
Naive, no more code than necessary should be written. (YAGNI)