{"action":"closed","issue":{"url":"https://api.github.com/repos/rails/turbolinks/issues/605","labels_url":"https://api.github.com/repos/rails/turbolinks/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/rails/turbolinks/issues/605/comments","events_url":"https://api.github.com/repos/rails/turbolinks/issues/605/events","html_url":"https://github.com/rails/turbolinks/issues/605","id":105572392,"number":605,"title":"How to load `turbolinks` in an engine","user":{"login":"sebastianzillessen","id":300879,"avatar_url":"https://avatars.githubusercontent.com/u/300879?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianzillessen","html_url":"https://github.com/sebastianzillessen","followers_url":"https://api.github.com/users/sebastianzillessen/followers","following_url":"https://api.github.com/users/sebastianzillessen/following{/other_user}","gists_url":"https://api.github.com/users/sebastianzillessen/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianzillessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianzillessen/subscriptions","organizations_url":"https://api.github.com/users/sebastianzillessen/orgs","repos_url":"https://api.github.com/users/sebastianzillessen/repos","events_url":"https://api.github.com/users/sebastianzillessen/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianzillessen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-09T10:50:26Z","updated_at":"2015-09-20T17:41:40Z","closed_at":"2015-09-20T17:41:40Z","body":"Hi,\r\n\r\nat my current project, we have a large software that is wrapped in a private gem. This is included in all customer projects to be able to have a default project which can be extended and to provide all users with the latest version. \r\n\r\nNow I would like to include the `turbolinks` javascript files into that engine. \r\nTherefore I did the following: \r\n- gem as dependency in the Gemspec (`s.add_dependency 'turbolinks' `) \r\n- added the line into the application.js (`//= require turbolinks`)\r\n- `bundle install` in the main project (I can see that `turbolinks` gets installed: `Using turbolinks 2.5.3`)\r\n\r\nBut when I try to reload the page (after server restart) I get the following error:\r\n\r\n````\r\nSprockets::FileNotFound at /<something>\r\ncouldn't find file 'turbolinks'\r\n  (in /Users/sebastianzillessen/<project>/<gem-engine>/app/assets/javascripts/application.js:15)\r\n````\r\n\r\nAny ideas, what I'm doing wrong?\r\n\r\nThank you!\r\n"}}