rake assets:precompile
実稼働サーバーで実行するとエラーが発生します。私が知る限り、これが起こる前に私は何も変わっていません。私の開発マシンで実行rake assets:precompile
しても、エラーは発生しません。これをデバッグする方法がわかりません。提案?このオプションを使用して実行してみ--trace
ましたが、コードのバグを指摘するのに役立つ情報は何も得られませんでした。
deploy@example.com:~/www/example.com/app/assets/stylesheets$ rake assets:precompile
(in /home/deploy/www/example.com)
/home/deploy/.rvm/rubies/ruby-1.9.3-p194/bin/ruby /home/deploy/.rvm/gems/ruby-1.9.3-p194@global/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
Invalid CSS after "...4882640c.png"")": expected "{", was ";background-pos..."
(in /home/deploy/www/example.com/app/assets/stylesheets/application.css)
Tasks: TOP => assets:precompile:primary
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/home/deploy/.rvm/rubies/ruby-1.9.3-p194/b...]
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)