{"action":"created","issue":{"url":"https://api.github.com/repos/biola/turnout/issues/33","repository_url":"https://api.github.com/repos/biola/turnout","labels_url":"https://api.github.com/repos/biola/turnout/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/biola/turnout/issues/33/comments","events_url":"https://api.github.com/repos/biola/turnout/issues/33/events","html_url":"https://github.com/biola/turnout/issues/33","id":140062357,"number":33,"title":"Doesn't work in the  production server","user":{"login":"lepek","id":166814,"avatar_url":"https://avatars.githubusercontent.com/u/166814?v=3","gravatar_id":"","url":"https://api.github.com/users/lepek","html_url":"https://github.com/lepek","followers_url":"https://api.github.com/users/lepek/followers","following_url":"https://api.github.com/users/lepek/following{/other_user}","gists_url":"https://api.github.com/users/lepek/gists{/gist_id}","starred_url":"https://api.github.com/users/lepek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lepek/subscriptions","organizations_url":"https://api.github.com/users/lepek/orgs","repos_url":"https://api.github.com/users/lepek/repos","events_url":"https://api.github.com/users/lepek/events{/privacy}","received_events_url":"https://api.github.com/users/lepek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"adamcrown","id":277306,"avatar_url":"https://avatars.githubusercontent.com/u/277306?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcrown","html_url":"https://github.com/adamcrown","followers_url":"https://api.github.com/users/adamcrown/followers","following_url":"https://api.github.com/users/adamcrown/following{/other_user}","gists_url":"https://api.github.com/users/adamcrown/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcrown/subscriptions","organizations_url":"https://api.github.com/users/adamcrown/orgs","repos_url":"https://api.github.com/users/adamcrown/repos","events_url":"https://api.github.com/users/adamcrown/events{/privacy}","received_events_url":"https://api.github.com/users/adamcrown/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-11T01:51:40Z","updated_at":"2016-03-11T02:17:53Z","closed_at":null,"body":"Here is what happens if I run this locally in my workstation:\r\n```\r\nbundle exec rake maintenance:start\r\nCreated tmp/maintenance.yml\r\nRun `rake maintenance:end` to stop maintenance mode\r\n```\r\n\r\nAnd this is what happens when I run it in the production server:\r\n```\r\nRAILS_ENV=production bundle exec rake maintenance:start\r\nrake aborted!\r\nDon't know how to build task 'maintenance:start'\r\n\r\n(See full trace by running task with --trace)\r\n```\r\n\r\nAll the other rake tasks works in production, it has to be something related with the environment, could you put some light here so I can research a little bit?"},"comment":{"url":"https://api.github.com/repos/biola/turnout/issues/comments/195146006","html_url":"https://github.com/biola/turnout/issues/33#issuecomment-195146006","issue_url":"https://api.github.com/repos/biola/turnout/issues/33","id":195146006,"user":{"login":"adamcrown","id":277306,"avatar_url":"https://avatars.githubusercontent.com/u/277306?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcrown","html_url":"https://github.com/adamcrown","followers_url":"https://api.github.com/users/adamcrown/followers","following_url":"https://api.github.com/users/adamcrown/following{/other_user}","gists_url":"https://api.github.com/users/adamcrown/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcrown/subscriptions","organizations_url":"https://api.github.com/users/adamcrown/orgs","repos_url":"https://api.github.com/users/adamcrown/repos","events_url":"https://api.github.com/users/adamcrown/events{/privacy}","received_events_url":"https://api.github.com/users/adamcrown/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T02:17:53Z","updated_at":"2016-03-11T02:17:53Z","body":"I don't see Turnout in your middleware list either so it seems like it's more than just a rake issue.\r\n\r\nThis is a dumb question, I know, but are you sure you don't have the turnout gem in just your development group in your `Gemfile`?\r\n\r\nIt really looks like it is just not installed in production."}}