{"action":"closed","issue":{"url":"https://api.github.com/repos/schneems/wicked/issues/185","labels_url":"https://api.github.com/repos/schneems/wicked/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/schneems/wicked/issues/185/comments","events_url":"https://api.github.com/repos/schneems/wicked/issues/185/events","html_url":"https://github.com/schneems/wicked/issues/185","id":103481241,"number":185,"title":"Is there a way to stop the gem requiring the app directory? (I'm using a Rails engine)","user":{"login":"aaronmcadam","id":37928,"avatar_url":"https://avatars.githubusercontent.com/u/37928?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronmcadam","html_url":"https://github.com/aaronmcadam","followers_url":"https://api.github.com/users/aaronmcadam/followers","following_url":"https://api.github.com/users/aaronmcadam/following{/other_user}","gists_url":"https://api.github.com/users/aaronmcadam/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronmcadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronmcadam/subscriptions","organizations_url":"https://api.github.com/users/aaronmcadam/orgs","repos_url":"https://api.github.com/users/aaronmcadam/repos","events_url":"https://api.github.com/users/aaronmcadam/events{/privacy}","received_events_url":"https://api.github.com/users/aaronmcadam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-27T10:57:22Z","updated_at":"2015-08-27T14:53:50Z","closed_at":"2015-08-27T14:53:50Z","body":"I'm using `wicked` as part of my own engine. That engine is used in a Rails app with a component architecture instead of a top-level `app` directory ([here's an example](https://github.com/shageman/the_next_big_thing)). That means I don't have a top-level `ApplicationController`.\r\n\r\nThe app works in development, but when I deploy, I get the following stack trace:\r\n\r\n```\r\n../gems/wicked-1.0.3/app/controllers/wicked/wizard_controller.rb:5:in `<top (required)>': uninitialized constant ApplicationController (NameError)\r\n```\r\n\r\nIs there a way I can stop the gem requiring the `app` directory in production?"}}