at 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.
Now I would like to include the turbolinks javascript files into that engine.
Therefore I did the following:
gem as dependency in the Gemspec (s.add_dependency 'turbolinks')
added the line into the application.js (//= require turbolinks)
bundle install in the main project (I can see that turbolinks gets installed: Using turbolinks 2.5.3)
But when I try to reload the page (after server restart) I get the following error:
Sprockets::FileNotFound at /<something>
couldn't find file 'turbolinks'
(in /Users/sebastianzillessen/<project>/<gem-engine>/app/assets/javascripts/application.js:15)
Hi,
at 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.
Now I would like to include the
turbolinks
javascript files into that engine. Therefore I did the following:s.add_dependency 'turbolinks'
)//= require turbolinks
)bundle install
in the main project (I can see thatturbolinks
gets installed:Using turbolinks 2.5.3
)But when I try to reload the page (after server restart) I get the following error:
Any ideas, what I'm doing wrong?
Thank you!