I'm Using Flat-UI-Pro and the flatuipro.js file looks like this
//= require jquery.ui.touch-punch.min
//= require bootstrap-select
//= require bootstrap-switch
//= require flatui-checkbox
//= require flatui-radio
//= require jquery.tagsinput
//= require jquery.placeholder
//= require jquery.stacktable
On localhost everything is working fine, but on Deployment to Heroku :
Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
couldn't find file 'jquery.ui.touch-punch.min'
What can i do ?
Run
RAILS_ENV=production bundle exec rake assets:precompile
git add public/assets/
git commit -am "flatui assets to deploy"
git push origin master
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.