Gemi

Gemi Gem-installer.

Ever had gems that have nothing to do with your rails app, and want to keep them in sync?

Put your gems in a yaml file, and gemi will install them for you! By Kazuyoshi Tlacaelel

$ sudo gemi gems.yml
Successfully installed ruby-openid-2.1.4
1 gem installed
Installing ri documentation for ruby-openid-2.1.4...
Installing RDoc documentation for ruby-openid-2.1.4...

Dependancies

* require 'yaml'

Features

Prepare your configuration into a yaml file

$ cat gems.yml
  gems:
    - name: ruby-openid
      version: 2.1.4
      native: 0

Install gems using gemi

$ sudo gemi gems.yml
Successfully installed ruby-openid-2.1.4
1 gem installed
Installing ri documentation for ruby-openid-2.1.4...
Installing RDoc documentation for ruby-openid-2.1.4...

Future thoughts

* allow yaml file to specify various gem-sources
* allow gem-options in yaml file for gems with native-extensions

Tests?

Right now the api is really, really simple. and all of its components are tested

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but

    bump version in a commit by itself I can ignore when I pull)
    
  • Send me a pull request. Bonus points for topic branches.

Copyright © 2009 kazuyoshi tlacaelel. See LICENSE for details.