Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 650017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:00:26+00:00 2026-05-13T22:00:26+00:00

I install plugin open_id_authentication and have this error: /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/dependencies.rb:167:in `require’: no such file to

  • 0

I install plugin open_id_authentication and have this error:

/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/dependencies.rb:167:in `require': no such file to load -- rack/openid (LoadError)

when I try to start rails server
Actually, rack-openid installed in my system and i can load it from irb:

irb(main):001:0> require 'rack/openid'
=> true

I tried to add hack to Gemfile as I did with ruby-openid, but it did’t help:

gem "ruby-openid", :require => "openid"
gem "rack-openid", :require => "rack/openid"

I also have tried

gem "ruby-openid", :require => "rack/openid"

but:

/usr/lib/ruby/gems/1.9.1/gems/bundler-0.9.7/lib/bundler/runtime.rb:38:in `require': no such file to load -- rack/openid (LoadError)

In rails 2.3.5 app there isn’t this problem and I can’t understand why it happens in Rails 3.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:00:26+00:00Added an answer on May 13, 2026 at 10:00 pm

    The problem is this code at the top of the plugin’s init.rb

    if Rails.version < '3'
      config.gem 'rack-openid', :lib => 'rack/openid', :version => '>=0.2.1'
    end
    

    Bundler doesn’t seem to pick up on the gem requirement so you are missing the rack-openid gem.

    The solution is to add the following to your Gemfile in place of ruby-openid. (rack-openid depends on ruby-openid but gems is aware of this and will install it as needed)

    gem 'rack-openid', '>=0.2.1', :require => 'rack/openid'
    

    Don’t forget to run bundle install after updating your Gemfile.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to install the paperclip plugin with the following command: ruby script/plugin install
There are so many plugins/gems but must of them have outdated documentation or no
I have a plugin project I've been developing for a few years where the
I'm following the Railscasts tutorial on using OpenID with AuthLogic . This command: $
this is a bit of a newbie question but hoping I can get some
I am using sfOpenID plugin for Symfony, which doesn't support OpenID 2.0. That means,
My rails website uses the open_flash_graph plugin to generate flash graphs for my clients.
I've been having trouble using cucumber and webrat to test authlogic-openid authentication in a
I'm trying to get Selenium tests to work when they are executed by Hudson,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.