{"action":"created","issue":{"url":"https://api.github.com/repos/bkeepers/dotenv/issues/177","labels_url":"https://api.github.com/repos/bkeepers/dotenv/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/bkeepers/dotenv/issues/177/comments","events_url":"https://api.github.com/repos/bkeepers/dotenv/issues/177/events","html_url":"https://github.com/bkeepers/dotenv/issues/177","id":62612696,"number":177,"title":"odd loading issue with Spree + Deface, Rails 4.2","user":{"login":"masterkain","id":12844,"avatar_url":"https://avatars.githubusercontent.com/u/12844?v=3","gravatar_id":"","url":"https://api.github.com/users/masterkain","html_url":"https://github.com/masterkain","followers_url":"https://api.github.com/users/masterkain/followers","following_url":"https://api.github.com/users/masterkain/following{/other_user}","gists_url":"https://api.github.com/users/masterkain/gists{/gist_id}","starred_url":"https://api.github.com/users/masterkain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterkain/subscriptions","organizations_url":"https://api.github.com/users/masterkain/orgs","repos_url":"https://api.github.com/users/masterkain/repos","events_url":"https://api.github.com/users/masterkain/events{/privacy}","received_events_url":"https://api.github.com/users/masterkain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-18T07:28:47Z","updated_at":"2015-03-22T12:27:12Z","closed_at":null,"body":"I'm using `dotenv-rails` 2.0.0 in a Spree 3.0 and Rails 4.2 project.\r\n\r\nDuring app startup/initialization I get this error:\r\n\r\n```\r\n/Users/kain/.rvm/gems/ruby-2.2.1/gems/railties-4.2.0/lib/rails/railtie/configuration.rb:95:in `method_missing': undefined method `eager_load_paths' for #<Rails::Railtie::Configuration:0x007fe6e4365948> (NoMethodError)\r\n\tfrom /Users/kain/.rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/railtie.rb:50:in `block (2 levels) in <class:Railtie>'\r\n\tfrom /Users/kain/.rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/railtie.rb:48:in `each'\r\n\tfrom /Users/kain/.rvm/gems/ruby-2.2.1/gems/deface-1.0.1/lib/deface/railtie.rb:48:in `block in <class:Railtie>'\r\n\tfrom /Users/kain/.rvm/gems/ruby-2.2.1/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'\r\n\tfrom /Users/kain/.rvm/gems/ruby-2.2.1/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'\r\n\tfrom /Users/kain/.rvm/gems/ruby-2.2.1/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n```\r\n\r\nat first I thought it had something to do with the `deface` gem, but it turns out that this error is raised there just because something else has happened.\r\n\r\nI tracked it down to the inclusion of the `dotenv-rails` gem in the project, if I `require: false` it app starts normally."},"comment":{"url":"https://api.github.com/repos/bkeepers/dotenv/issues/comments/84598569","html_url":"https://github.com/bkeepers/dotenv/issues/177#issuecomment-84598569","issue_url":"https://api.github.com/repos/bkeepers/dotenv/issues/177","id":84598569,"user":{"login":"Neschur","id":995682,"avatar_url":"https://avatars.githubusercontent.com/u/995682?v=3","gravatar_id":"","url":"https://api.github.com/users/Neschur","html_url":"https://github.com/Neschur","followers_url":"https://api.github.com/users/Neschur/followers","following_url":"https://api.github.com/users/Neschur/following{/other_user}","gists_url":"https://api.github.com/users/Neschur/gists{/gist_id}","starred_url":"https://api.github.com/users/Neschur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neschur/subscriptions","organizations_url":"https://api.github.com/users/Neschur/orgs","repos_url":"https://api.github.com/users/Neschur/repos","events_url":"https://api.github.com/users/Neschur/events{/privacy}","received_events_url":"https://api.github.com/users/Neschur/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T12:27:12Z","updated_at":"2015-03-22T12:27:12Z","body":"Hello\r\nAll variables in array [app.railties.all](https://github.com/spree/deface/blob/master/lib/deface/railtie.rb#L45) is Rails::Engine::Configuration in default Rails+Spree app\r\nAfter adding this gem to Gemfile - first variable in the array is Rails::Railtie::Configuration\r\n"}}