Sha256: 5fecd66e52da9291bb17381a446d8d19bc32e7e72fe14c14294c54b7cd437b21

Contents?: true

Size: 1.12 KB

Versions: 10

Compression:

Stored size: 1.12 KB

Contents

# Ruby OpenID Library Installation

## Rubygems Installation

Rubygems is a tool for installing ruby libraries and their
dependancies. If you have rubygems installed, simply:

    gem install ruby-openid

## Manual Installation

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

## Testing the Installation

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

## Run the test suite

Go into the test directory and execute the `runtests.rb` script.

## Next steps

* Run `consumer.rb` in the examples directory.
* Get started writing your own consumer using OpenID::Consumer
* Write your own server with `OpenID::Server`
* Use the `OpenIDLoginGenerator`! Read `example/README` for more info.

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby-openid-2.8.0 INSTALL.md
ruby-openid-2.7.0 INSTALL.md
ruby-openid-2.6.0 INSTALL.md
ruby-openid-2.5.0 INSTALL.md
ruby-openid-2.4.0 INSTALL.md
ruby-openid-2.3.0 INSTALL.md
ruby-openid-2.2.3 INSTALL.md
ruby-openid-2.2.2 INSTALL.md
ruby-openid-2.2.1 INSTALL.md
ruby-openid-2.2.0 INSTALL.md