rubycas / rubycas-client

Ruby client for Yale's Central Authentication Service protocol -- an open source enterprise single sign on system for web applications.
http://code.google.com/p/rubycas-client/
Other
332 stars 217 forks source link

AbstractTicketStore NameError #29

Closed geoffgarside closed 12 years ago

geoffgarside commented 12 years ago

When running a rails console in production mode I'm getting this NameError

$ rails c production
...snip.../vendor/bundle/ruby/1.8/gems/rubycas-client-2.3.7/lib/casclient/tickets/storage/active_record_ticket_store.rb:12: uninitialized constant CASClient::Tickets::Storage::AbstractTicketStore (NameError)
from ...snip.../vendor/bundle/ruby/1.8/gems/railties-3.1.3/lib/rails/application.rb:83:in `require_environment!'
from ...snip.../vendor/bundle/ruby/1.8/gems/railties-3.1.3/lib/rails/commands.rb:39
from script/rails:6:in `require'
from script/rails:6

running with REE 2011.03

Its fine in development mode and test mode, just seems to explode in production mode which was a lovely surprise.

soupmatt commented 12 years ago

rubycas-client by itselft is untest with rails 3.x. You'll want to look at using rubycas-client-rails with rubycas-client 2.2.x for right now.

geoffgarside commented 12 years ago

Oh right, I wasn't aware of the -rails gem. I'll have a go with that.

soupmatt commented 12 years ago

Please re-open if you have further issues.