Javascript features work on localhost but not when deployed to Heroku

前端 未结 8 1755
栀梦
栀梦 2020-12-01 17:57

I\'ve noticed that when I deploy to Heroku, javascript features dont work (such as Bootstrap Popover, Buttons, etc). I\'m working with rails 3.2.2, ruby 1.9.3. The features

8条回答
  •  误落风尘
    2020-12-01 18:53

    Manually precompiling worked for me.

    bundle exec rake assets:precompile before you push to heroku.

提交回复
热议问题