{"action":"created","issue":{"url":"https://api.github.com/repos/instructure/canvas-lms/issues/671","labels_url":"https://api.github.com/repos/instructure/canvas-lms/issues/671/labels{/name}","comments_url":"https://api.github.com/repos/instructure/canvas-lms/issues/671/comments","events_url":"https://api.github.com/repos/instructure/canvas-lms/issues/671/events","html_url":"https://github.com/instructure/canvas-lms/issues/671","id":100820070,"number":671,"title":"Assets not being served in RAILS_ENV=production","user":{"login":"chrisjoywebb","id":6216666,"avatar_url":"https://avatars.githubusercontent.com/u/6216666?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisjoywebb","html_url":"https://github.com/chrisjoywebb","followers_url":"https://api.github.com/users/chrisjoywebb/followers","following_url":"https://api.github.com/users/chrisjoywebb/following{/other_user}","gists_url":"https://api.github.com/users/chrisjoywebb/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisjoywebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisjoywebb/subscriptions","organizations_url":"https://api.github.com/users/chrisjoywebb/orgs","repos_url":"https://api.github.com/users/chrisjoywebb/repos","events_url":"https://api.github.com/users/chrisjoywebb/events{/privacy}","received_events_url":"https://api.github.com/users/chrisjoywebb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T17:04:24Z","updated_at":"2015-08-13T17:41:56Z","closed_at":"2015-08-13T17:41:56Z","body":"Hey hey,\r\n\r\nI've successfully gone through the Production Start tutorial on a clean Ubuntu 14.04 server (including compiling of assets) except for one issue.\r\n\r\nAssets are being loaded for RAILS_ENV=development, but not for RAILS_ENV=production. Here are the log errors:\r\n\r\n```\r\nActionController::RoutingError (No route matches [GET] \"/dist/brandable_css/legacy_normal_contrast/bundles/common-ddc5a1521e.css\"):\r\n  app/middleware/request_context_generator.rb:36:in `call'\r\n  app/middleware/prevent_non_multipart_parse.rb:32:in `call'\r\n``` \r\n\r\n```\r\nActionController::RoutingError (No route matches [GET] \"/dist/brandable_css/legacy_normal_contrast/bundles/login-893b221786.css\"):\r\n  app/middleware/request_context_generator.rb:36:in `call'\r\n  app/middleware/prevent_non_multipart_parse.rb:32:in `call'\r\n```\r\n\r\n```\r\nActionController::RoutingError (No route matches [GET] \"/dist/optimized/vendor/require-749d0c60e9.js\"):\r\n  app/middleware/request_context_generator.rb:36:in `call'\r\n  app/middleware/prevent_non_multipart_parse.rb:32:in `call'\r\n```\r\n\r\n```\r\nActionController::RoutingError (No route matches [GET] \"/dist/optimized/compiled/bundles/common-5258b2411b.js\"):\r\n  app/middleware/request_context_generator.rb:36:in `call'\r\n  app/middleware/prevent_non_multipart_parse.rb:32:in `call'\r\n```\r\n\r\n```\r\nActionController::RoutingError (No route matches [GET] \"/dist/optimized/compiled/bundles/login-3076cdd73b.js\"):\r\n  app/middleware/request_context_generator.rb:36:in `call'\r\n  app/middleware/prevent_non_multipart_parse.rb:32:in `call'\r\n```\r\n\r\nNo errors arise in development.\r\n\r\nAny insight would be much appreciated. Thanks!"},"comment":{"url":"https://api.github.com/repos/instructure/canvas-lms/issues/comments/130775858","html_url":"https://github.com/instructure/canvas-lms/issues/671#issuecomment-130775858","issue_url":"https://api.github.com/repos/instructure/canvas-lms/issues/671","id":130775858,"user":{"login":"chrisjoywebb","id":6216666,"avatar_url":"https://avatars.githubusercontent.com/u/6216666?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisjoywebb","html_url":"https://github.com/chrisjoywebb","followers_url":"https://api.github.com/users/chrisjoywebb/followers","following_url":"https://api.github.com/users/chrisjoywebb/following{/other_user}","gists_url":"https://api.github.com/users/chrisjoywebb/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisjoywebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisjoywebb/subscriptions","organizations_url":"https://api.github.com/users/chrisjoywebb/orgs","repos_url":"https://api.github.com/users/chrisjoywebb/repos","events_url":"https://api.github.com/users/chrisjoywebb/events{/privacy}","received_events_url":"https://api.github.com/users/chrisjoywebb/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T17:41:56Z","updated_at":"2015-08-13T17:41:56Z","body":"This issue has been resolved."}}