{"action":"created","issue":{"url":"https://api.github.com/repos/NoamB/sorcery/issues/742","labels_url":"https://api.github.com/repos/NoamB/sorcery/issues/742/labels{/name}","comments_url":"https://api.github.com/repos/NoamB/sorcery/issues/742/comments","events_url":"https://api.github.com/repos/NoamB/sorcery/issues/742/events","html_url":"https://github.com/NoamB/sorcery/issues/742","id":123131618,"number":742,"title":"Installation fails on rails 5.0.0.beta1","user":{"login":"myloJR","id":3653998,"avatar_url":"https://avatars.githubusercontent.com/u/3653998?v=3","gravatar_id":"","url":"https://api.github.com/users/myloJR","html_url":"https://github.com/myloJR","followers_url":"https://api.github.com/users/myloJR/followers","following_url":"https://api.github.com/users/myloJR/following{/other_user}","gists_url":"https://api.github.com/users/myloJR/gists{/gist_id}","starred_url":"https://api.github.com/users/myloJR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myloJR/subscriptions","organizations_url":"https://api.github.com/users/myloJR/orgs","repos_url":"https://api.github.com/users/myloJR/repos","events_url":"https://api.github.com/users/myloJR/events{/privacy}","received_events_url":"https://api.github.com/users/myloJR/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-20T04:19:59Z","updated_at":"2015-12-26T10:28:32Z","closed_at":null,"body":"After installing the gem in a new rails-5.0.0.beta1 project I ran `rails generate sorcery:install` and I'm getting this error:\r\n\r\n```\r\n/Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/railtie/configuration.rb:95:in `method_missing': undefined method `sorcery' for #<Rails::Application::Configuration:0x007fc1a4e8f608> (NoMethodError)\r\n        from /Users/jacob/Dev/personal/rock_api/config/initializers/sorcery.rb:5:in `<top (required)>'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/activesupport/lib/active_support/dependencies.rb:296:in `load'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/activesupport/lib/active_support/dependencies.rb:296:in `block in load'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/activesupport/lib/active_support/dependencies.rb:268:in `load_dependency'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/activesupport/lib/active_support/dependencies.rb:296:in `load'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/engine.rb:648:in `block in load_config_initializer'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/activesupport/lib/active_support/notifications.rb:166:in `instrument'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/engine.rb:647:in `load_config_initializer'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/engine.rb:611:in `each'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/engine.rb:611:in `block in <class:Engine>'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/initializable.rb:30:in `instance_exec'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/initializable.rb:30:in `run'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:420:in `block (2 levels) in each_strongly_connected_component_from'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:419:in `block in each_strongly_connected_component_from'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/initializable.rb:44:in `each'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/initializable.rb:44:in `tsort_each_child'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:413:in `call'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:413:in `each_strongly_connected_component_from'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:345:in `each'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:345:in `call'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'\r\n        from /Users/jacob/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/initializable.rb:54:in `run_initializers'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/application.rb:350:in `initialize!'\r\n        from /Users/jacob/Dev/personal/rock_api/config/environment.rb:5:in `<top (required)>'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/activesupport/lib/active_support/dependencies.rb:302:in `require'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/activesupport/lib/active_support/dependencies.rb:302:in `block in require'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/activesupport/lib/active_support/dependencies.rb:268:in `load_dependency'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/activesupport/lib/active_support/dependencies.rb:302:in `require'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/application.rb:326:in `require_environment!'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/commands/commands_tasks.rb:157:in `require_application_and_environment!'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/commands/commands_tasks.rb:143:in `generate_or_destroy'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/commands/commands_tasks.rb:60:in `generate'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/commands/commands_tasks.rb:49:in `run_command!'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/command.rb:20:in `run'\r\n        from /Users/jacob/.rvm/gems/ruby-2.2.4@rails5/bundler/gems/rails-043660249bd8/railties/lib/rails/commands.rb:19:in `<top (required)>'\r\n        from bin/rails:9:in `require'\r\n        from bin/rails:9:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/NoamB/sorcery/issues/comments/167311046","html_url":"https://github.com/NoamB/sorcery/issues/742#issuecomment-167311046","issue_url":"https://api.github.com/repos/NoamB/sorcery/issues/742","id":167311046,"user":{"login":"arnvald","id":135708,"avatar_url":"https://avatars.githubusercontent.com/u/135708?v=3","gravatar_id":"","url":"https://api.github.com/users/arnvald","html_url":"https://github.com/arnvald","followers_url":"https://api.github.com/users/arnvald/followers","following_url":"https://api.github.com/users/arnvald/following{/other_user}","gists_url":"https://api.github.com/users/arnvald/gists{/gist_id}","starred_url":"https://api.github.com/users/arnvald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnvald/subscriptions","organizations_url":"https://api.github.com/users/arnvald/orgs","repos_url":"https://api.github.com/users/arnvald/repos","events_url":"https://api.github.com/users/arnvald/events{/privacy}","received_events_url":"https://api.github.com/users/arnvald/received_events","type":"User","site_admin":false},"created_at":"2015-12-26T10:28:32Z","updated_at":"2015-12-26T10:28:32Z","body":"Hi, I'll have some time to check it shortly after new year. If anyone figures out the fix earlier, I'll be happy to merge it and shortly after release a new version"}}