Installing Ruby Gems

If your distribution / installation method hasn't already provided it, the package-manager, ruby-gems, may need installing separately on top of Ruby.

To all intents and purposes, it's just another ruby module like ODBC earlier, so installation is easy:

  • download the latest from rubyforge
  • unpack
  • run `ruby setup.rb'
    • you'll probably have to be root to do this.

That's it! Hopefully you should now have a `gem' command in your PATH. You can test with:

zsh, pizza 12:26PM ruby/ % gem --version
ODBC-Rails and the ODBC-Rails website are Copyright (C) OpenLink Software 2006-2008