jdtornow / challah

User authorization and session management in Rails.
MIT License
18 stars 7 forks source link

Load Errors with Challah 1.3.0 #23

Closed thewatts closed 8 years ago

thewatts commented 8 years ago

From my deployment output via Heroku:

remote:        LoadError: cannot load such file -- challah

I'm calling require: 'challah' in my lib/users.rb file within my engine.

Not quite sure of the issue - I'll have to do some digging.


Full trace:

LoadError: cannot load such file -- challah
/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in `require'
/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in `block in require'
/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in `require'
/app/components/users/lib/users.rb:4:in `<top (required)>'
/app/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:76:in `require'
/app/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
/app/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:72:in `each'
/app/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:72:in `block in require'
/app/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:61:in `each'
/app/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler/runtime.rb:61:in `require'
/app/vendor/bundle/ruby/2.2.0/gems/bundler-1.9.7/lib/bundler.rb:134:in `require'
/app/config/application.rb:16:in `<top (required)>'
/app/Rakefile:5:in `require'
/app/Rakefile:5:in `<top (required)>'

my lib/users.rb file:

# ... deps
require "users/engine"
require "challah"
# ... more deps

module Users
  # ... stuff
end
jdtornow commented 8 years ago

Hi @thewatts -- I'd be happy to help you debug. Could you send me some sample code to help? There doesn't seem to be much here to go off of. Feel free to email it to me if you like.