Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: uninitialized constant OAuth #13

Open
cbmeeks opened this issue Mar 5, 2010 · 1 comment
Open

NameError: uninitialized constant OAuth #13

cbmeeks opened this issue Mar 5, 2010 · 1 comment

Comments

@cbmeeks
Copy link

cbmeeks commented Mar 5, 2010

Seems like no matter what I do I get this error when using this gem:

"NameError: uninitialized constant OAuth"

In the IRB:
require 'rubygems'
=>true

require 'oauth'
NameError: uninitialized constant OAuth
from ./oauth.rb:7
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
from (irb):5

My version of Ruby is:
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

My gem list:
actionmailer (2.3.5, 2.3.4)
actionpack (2.3.5, 2.3.4)
activerecord (2.3.5, 2.3.4)
activeresource (2.3.5, 2.3.4)
activesupport (2.3.5, 2.3.4)
BlueCloth (1.0.1)
fastthread (1.0.7)
haml (2.2.20, 2.2.16, 2.2.15, 2.2.10)
json (1.2.2)
libxml-ruby (1.1.3)
mojodna-oauth (0.3.6)
nokogiri (1.4.1)
passenger (2.2.11, 2.2.7, 2.2.5)
rack (1.1.0, 1.0.1)
rails (2.3.5, 2.3.4)
rake (0.8.7)
ratom (0.6.3)
ruby-hmac (0.4.0)
rubygems-update (1.3.6)
rubypants (0.2.0)
sinatra (0.9.5, 0.9.4)

Any help is appreciated.

Thanks.

@quirkey
Copy link

quirkey commented Mar 10, 2010

Hey cbmeeks,

It looks like your doing require 'oauth' in a directory with an oauth.rb and that is giving you problems.

FYI the official repo has moved to http://github.com/oauth/oauth-ruby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants