0

我正在使用 Flat-UI-Pro,而 flatuipro.js 文件看起来像这样

//= 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

在 localhost 上一切正常,但在部署到 Heroku 时:

Preparing app for Rails asset pipeline
   Running: rake assets:precompile
   rake aborted!
   couldn't find file 'jquery.ui.touch-punch.min'

我能做些什么 ?

4

1 回答 1

-1

RAILS_ENV=production bundle exec rake assets:precompile
git add public/assets/
git commit -am "flatui assets to deploy"
git push origin master
于 2013-09-16T21:09:35.143 回答