You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my login page i need to use a javascript_include_tag calling the jquery.js. I know that is not usually but in this case i don't need to load all my app javascript on this page.
The javascript_include_tag is on a gem called alego_permissoes (local project gem)
<%= javascript_include_tag('jquery') %>
My precompile is configured to generate jquery:
# Version of your assets, change this if you want to expire all your assets.
Rails.application.config.assets.version = '1.0'
Rails.application.config.assets.precompile += %w( jquery.js )
When i run rake assets:precompile it returns success but don't create jquery file in my public/assets.
In my login page i need to use a javascript_include_tag calling the jquery.js. I know that is not usually but in this case i don't need to load all my app javascript on this page.
The javascript_include_tag is on a gem called alego_permissoes (local project gem)
<%= javascript_include_tag('jquery') %>
My precompile is configured to generate jquery:
When i run rake assets:precompile it returns success but don't create jquery file in my public/assets.
Ruby: 2.3.0
Gems:
gem 'rails', '4.2.5'
gem 'jquery-rails', "2.0.3"
gem 'jquery-ui-rails', '6.0.1'
Running in development the asset was load, but any other env that use config.assets.debug false it work.
There is any restriction to call jquery from this gem out of application.js using require ?
The text was updated successfully, but these errors were encountered: