Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

CAS is broken :-( #1487

Closed
orenyk opened this issue Feb 9, 2016 · 2 comments
Closed

CAS is broken :-( #1487

orenyk opened this issue Feb 9, 2016 · 2 comments

Comments

@orenyk
Copy link
Contributor

orenyk commented Feb 9, 2016

reservations master % rake db:reset fast=true
rake aborted!
NoMethodError: undefined method `cas_base_url=' for Devise:Module
/home/oren/code/STC/reservations/config/initializers/00_devise.rb:76:in `block in <top (required)>'
/home/oren/code/STC/reservations/config/initializers/00_devise.rb:3:in `<top (required)>'
/home/oren/code/STC/reservations/config/environment.rb:23:in `<top (required)>'
Tasks: TOP => db:reset => environment
@orenyk
Copy link
Contributor Author

orenyk commented Feb 9, 2016

Ok figured it out; in #1329 we tried to get fancy and only load devise_cas_authenticatable if CAS was enabled, but you can't pull variables from .env in the Gemfile. Quickly trying to come up with an alternative, otherwise we'll just go back to the way it was.

orenyk added a commit that referenced this issue Feb 9, 2016
Resolves #1487
- realized that you can't use environment variables in the Gemfile
@orenyk
Copy link
Contributor Author

orenyk commented Feb 9, 2016

Yea, no easy way to do this and it's not that important, so we'll just revert that change to the Gemfile.

@orenyk orenyk mentioned this issue Feb 9, 2016
orenyk added a commit that referenced this issue Feb 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant