blueprint/screen.css isn't precompiled

前端 未结 4 1581
故里飘歌
故里飘歌 2020-12-02 07:56

I\'ve been following along Michael Hartl\'s excellent RoR Tutorial, but I\'m using RoR 3.1. I am a newbie to RoR 3.1 and need help related to assets pipeline. Here is my pro

4条回答
  •  我在风中等你
    2020-12-02 08:23

    You may want to precompile your assets on production as described above. And if you use capistrano you may do it after code update:

    require 'bundler/capistrano'
    
    after 'deploy:update_code' do  
      run "cd #{release_path}; RAILS_ENV=#{rails_env} bundle exec rake assets:precompile"
    end
    

提交回复
热议问题