Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

NameError: uninitialized constant #145

Closed
henry40408 opened this issue Nov 26, 2015 · 4 comments
Closed

NameError: uninitialized constant #145

henry40408 opened this issue Nov 26, 2015 · 4 comments

Comments

@henry40408
Copy link

I type rake casino:service_rule:add['SSO-CLIENT','http://sso-client.dev/'] in the command line and get the following error:

rake aborted!
NameError: uninitialized constant CASino::ServiceTicketProcessor::Addressable
/usr/local/lib/ruby/gems/2.2.0/gems/casino-4.0.2/app/processors/casino/service_ticket_processor.rb:30:in `clean_service_url'
/usr/local/lib/ruby/gems/2.2.0/gems/casino-4.0.2/lib/casino/tasks/service_rule.rake:12:in `block (3 levels) in <top (required)>'
-e:1:in `<main>'
Tasks: TOP => casino:service_rule:add
(See full trace by running task with --trace)

I use Ruby on Rails 4.2.5, Casino 4.0.2, and casino-activerecord_authenticator 4.0.1.

@pencil
Copy link
Member

pencil commented Nov 26, 2015

Thanks for the report. Looks like a bug… Probably a missing require somewhere. feelsbadman

@henry40408
Copy link
Author

Should I require anything in any files in my project? I have seen nothing mentioned about requiring anything in documentation.

@pencil
Copy link
Member

pencil commented Nov 30, 2015

Nope, it's a bug in CASino.

@nozpheratu
Copy link

I also just ran into this. 👍

@pencil pencil closed this as completed in 619a9a1 Dec 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants