File tree Expand file tree Collapse file tree 1 file changed +6
-24
lines changed Expand file tree Collapse file tree 1 file changed +6
-24
lines changed Original file line number Diff line number Diff line change 1
- # Ruby OpenID Library Installation
1
+ # Ruby OpenID2 Library Installation
2
2
3
3
## Install as a gem
4
4
5
- ` ruby-openid ` is distributed on [ RubyGems] ( https://rubygems.org/ ) .
5
+ ` ruby-openid2 ` is distributed on [ RubyGems] ( https://rubygems.org/ ) .
6
6
Install it:
7
7
8
- gem install ruby-openid
9
-
10
- This is probably what you need.
11
-
12
- ## Manual Installation
13
-
14
- Unpack the archive and run ` setup.rb ` to install:
15
-
16
- ruby setup.rb
17
-
18
- ` setup.rb ` installs the library into your system ruby. If don't want to
19
- add openid to you system ruby, you may instead add the ` lib ` directory of
20
- the extracted tarball to your ` RUBYLIB ` environment variable:
21
-
22
- $ export RUBYLIB=${RUBYLIB}:/path/to/ruby-openid/lib
8
+ gem install ruby-openid2
23
9
24
10
## Testing the Installation
25
11
26
12
Make sure everything installed ok:
27
13
28
14
$> irb
29
- irb$> require "openid "
15
+ irb$> require "ruby-openid2 "
30
16
=> true
31
17
32
- ## Run the test suite
33
-
34
- Go into the test directory and execute the ` runtests.rb ` script.
35
-
36
18
## Next steps
37
19
38
- * Run ` consumer.rb ` in the ` examples/ ` directory.
39
20
* Get started writing your own consumer using ` OpenID::Consumer `
40
21
* Write your own server with ` OpenID::Server `
41
- * Use the ` OpenIDLoginGenerator ` ! Read ` examples/README.md ` for more info.
22
+ * Use the ` OpenIDLoginGenerator ` !
23
+ * Read ` examples/README.md ` for more info.
You can’t perform that action at this time.
0 commit comments