blueprint css rails 3.1 help

后端 未结 4 1449
心在旅途
心在旅途 2020-12-14 08:06

My blueprint css works on my local machine, but when I push to heroku I get an error.

I have blueprint stored in my app/assets/stylesheets folder and he

4条回答
  •  情话喂你
    2020-12-14 08:33

    I tried to run rake assets:precompile and couldn't get it to work. I have the assets group in my Gemfile. I read somewhere that I should make sure to precompile the production env:

    RAILS_ENV=production bundle exec rake assets:precompile

    That didn't help either. I ended up doing the config.assets.compile = true, which worked fine, but I would love to get the real solution to work.

    I never get the -----> Preparing Rails asset pipeline when pushing to heroku that they say one should get.

提交回复
热议问题