# Open ID Install the ruby-openid gem to enable OpenID support

**URL:** <https://www.ruby-forum.com/t/open-id-install-the-ruby-openid-gem-to-enable-openid-support/141220>\
**Category:** Rails\
**Created:** [June 23, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/open-id-install-the-ruby-openid-gem-to-enable-openid-support/141220 "2008-06-23T20:05:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![indigoi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/b3f665/32.png) [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Post date:** [June 23, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/open-id-install-the-ruby-openid-gem-to-enable-openid-support/141220/1 "2008-06-23T20:05:48Z")

</div>

I have installed “sudo gem install ruby-openid” successfully then  
installed the plugin.

“script/plugin install  
[http://svn.rubyonrails.org/rails/plugins/open\_id\_authentication/](http://svn.rubyonrails.org/rails/plugins/open_id_authentication/)”

the error i get is “no such file to load – openid/extensions/sreg”  
and in the console “Install the ruby-openid gem to enable OpenID  
support”

i’m using rails 2.0.2 and open-id 2.0.4.

in script/console “puts OpenID::VERSION” yeilds “2.0.4”

“puts OpenID::SRed” yeilds “nil”

yet when i “open  
/opt/local/lib/ruby/gems/1.8/gems/ruby-openid-2.0.4/lib/openid/extensions”

i clearly see sreg.rb in the folder

a few people have mentioned the need to patch the plugin using  
“[http://dev.rubyonrails.org/ticket/10604](http://dev.rubyonrails.org/ticket/10604)” though I think this is only  
for openid authentication plugin’s that are pre 2.0, and i have no idea  
how to implement the patch if i did indeed need it.

If anyone else had the same problem and fixed it, or if you need some  
more info about my setup before you can help, then please let me know!!
