{"action":"created","issue":{"url":"https://api.github.com/repos/Mange/roadie-rails/issues/36","labels_url":"https://api.github.com/repos/Mange/roadie-rails/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/Mange/roadie-rails/issues/36/comments","events_url":"https://api.github.com/repos/Mange/roadie-rails/issues/36/events","html_url":"https://github.com/Mange/roadie-rails/issues/36","id":59371017,"number":36,"title":"AssetPipelineProvider fails in Rails 4.2?","user":{"login":"mcolyer","id":1424,"avatar_url":"https://avatars.githubusercontent.com/u/1424?v=3","gravatar_id":"","url":"https://api.github.com/users/mcolyer","html_url":"https://github.com/mcolyer","followers_url":"https://api.github.com/users/mcolyer/followers","following_url":"https://api.github.com/users/mcolyer/following{/other_user}","gists_url":"https://api.github.com/users/mcolyer/gists{/gist_id}","starred_url":"https://api.github.com/users/mcolyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcolyer/subscriptions","organizations_url":"https://api.github.com/users/mcolyer/orgs","repos_url":"https://api.github.com/users/mcolyer/repos","events_url":"https://api.github.com/users/mcolyer/events{/privacy}","received_events_url":"https://api.github.com/users/mcolyer/received_events","type":"User","site_admin":true},"labels":[{"url":"https://api.github.com/repos/Mange/roadie-rails/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-01T01:43:41Z","updated_at":"2015-04-24T15:37:35Z","closed_at":"2015-03-08T20:05:59Z","body":"So it looks like the AssetPipelineProvider is passed an asset path with the digest in rails 4.2. However [normalize_asset_name](https://github.com/Mange/roadie-rails/blob/92ebd8b8b3f76f294cce2eb5cfdde91713d9bcdd/lib/roadie/rails/asset_pipeline_provider.rb#L20-L22) doesn't remove the digest from the filename.\r\n\r\nUnfortunately sprockets [can't locate that asset](https://github.com/Mange/roadie-rails/blob/92ebd8b8b3f76f294cce2eb5cfdde91713d9bcdd/lib/roadie/rails/asset_pipeline_provider.rb#L14) with the digest attached, which causes roadie to fail with\r\n\r\n```\r\nRoadie::CssNotFound\r\n\r\nCould not find stylesheet \"/assets/ink-f31b199e0707d07b7545a85a961e81eb.css?body=1\"\r\nUsed provider:\r\nProviderList: [\r\n  #<Roadie::FilesystemProvider:0x007f90d9e5bf70>,\r\n  #<Roadie::Rails::AssetPipelineProvider:0x007f90d9e5acb0>\r\n]\r\n```\r\n\r\nI'm not sure what the best way to fix this but I'm open to suggestions."},"comment":{"url":"https://api.github.com/repos/Mange/roadie-rails/issues/comments/95969658","html_url":"https://github.com/Mange/roadie-rails/issues/36#issuecomment-95969658","issue_url":"https://api.github.com/repos/Mange/roadie-rails/issues/36","id":95969658,"user":{"login":"dmarkow","id":8009,"avatar_url":"https://avatars.githubusercontent.com/u/8009?v=3","gravatar_id":"","url":"https://api.github.com/users/dmarkow","html_url":"https://github.com/dmarkow","followers_url":"https://api.github.com/users/dmarkow/followers","following_url":"https://api.github.com/users/dmarkow/following{/other_user}","gists_url":"https://api.github.com/users/dmarkow/gists{/gist_id}","starred_url":"https://api.github.com/users/dmarkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmarkow/subscriptions","organizations_url":"https://api.github.com/users/dmarkow/orgs","repos_url":"https://api.github.com/users/dmarkow/repos","events_url":"https://api.github.com/users/dmarkow/events{/privacy}","received_events_url":"https://api.github.com/users/dmarkow/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T15:37:35Z","updated_at":"2015-04-24T15:37:35Z","body":"On a fresh/default Rails 4.2.1 app, Sprockets is giving me hashes with 64 characters (e.g. \"6d70c2d632517a56d6d00d83815ffcc07c0e44e4867235f85b0ca71a53b92dc5\") instead of 32, so this fix isn't working. I haven't had a chance to look into why this might be happening yet, but it's blocking me from upgrading to Roadie 3.x."}}