Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Specifics of using gem with bundler #48

glebe opened this Issue · 2 comments

3 participants


When including gem through bundler, one should use the following syntax:

gem "ruby-openid", :require => 'openid'

to avoid problems like this on application start

ActionDispatch::Session::SessionRestoreError (Session contains objects whose class definition isn't available.
Remember to require the classes for all objects kept in the session.
(Original exception: uninitialized constant OpenID [NameError])


I have a similar problem, after restarting server.


any news on this? we also got this on production, having to manually require it is a bit cumbersome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.