Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with engine and adding to gemspec #247

Open
ljonny18 opened this issue Mar 28, 2018 · 0 comments
Open

issue with engine and adding to gemspec #247

ljonny18 opened this issue Mar 28, 2018 · 0 comments

Comments

@ljonny18
Copy link

ljonny18 commented Mar 28, 2018

I am using If I include the gem(s) in the Gemfile everything works as expected:
gem 'devise', '4.2.0'
gem 'devise_ldap_authenticatable', '0.8.5'

... however, if I include the gem(s) in my engines .gemspec file:
Gem::Specification.new do |s|
...
s.add_dependency "devise", "4.2.0"
s.add_dependency "devise_ldap_authenticatable", "0.8.5"
...
end

I get the following exception:

Exiting
/Users/jwilliam/is_web_engine/config/initializers/devise.rb:6:in block in <top (required)>': undefined method ldap_create_user=' for Devise:Module (NoMethodError)

What am I doing wrong?

Thanks,
Jon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant