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

no such file to load -- omniauth-openid (LoadError) #15

Open
conradwt opened this issue Apr 30, 2012 · 0 comments
Open

no such file to load -- omniauth-openid (LoadError) #15

conradwt opened this issue Apr 30, 2012 · 0 comments

Comments

@conradwt
Copy link

When deploying to production, I'm seeing the following message within the Unicorn log file, unicorn.log:

shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require': no such file to load -- omniauth-openid (LoadError)

Next, my Gemfile has the omniauth specific details:

gem "omniauth-facebook",         "~> 1.2.0"
gem "omniauth-openid",            :git => 'git://github.com/intridea/omniauth-openid.git'
gem "omniauth-twitter",              "~> 0.0.11"

Next, my initializer looks like the following:

config/initializers/omniauth.rb:

require 'omniauth-openid'
require 'openid/store/filesystem'

Rails.application.config.middleware.use OmniAuth::Builder do  

  provider :facebook, FACEBOOK_ID,     FACEBOOK_SECRET
  provider :twitter,  TWITTER_ID,  TWITTER_SECRET
  provider :open_id, :name => 'google', :identifier => 'https://www.google.com/accounts/o8/id'
  provider :open_id, :name => 'yahoo',  :identifier => 'yahoo.com'

end
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

1 participant