Path: | INSTALL |
Last Update: | Fri Feb 19 07:27:58 -0800 2010 |
Rubygems is a tool for installing ruby libraries and their dependancies. If you have rubygems installed, simply:
gem install ruby-openid
Unpack the archive and run setup.rb to install:
ruby setup.rb
setup.rb installs the library into your system ruby. If don‘t want to add openid to you system ruby, you may instead add the lib directory of the extracted tarball to your RUBYLIB environment variable:
$ export RUBYLIB=${RUBYLIB}:/path/to/ruby-openid/lib
Make sure everything installed ok:
$> irb irb$> require "openid" => true
Or, if you installed via rubygems:
$> irb irb$> require "rubygems" => true irb$> require_gem "ruby-openid" => true
Go into the test directory and execute the *runtests.rb* script.