0

これは、エラーが発生した場所周辺のcapdeployスクリプト出力のログです。なぜこれが起こっているのか、何か提案はありますか?ありがとう!

    [yup.la] executing command
    [yup.la] sh -c 'cd /srv/www/portrait/releases/20120406051647 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile'
 ** [out :: yup.la] rake aborted!
 ** [out :: yup.la] 
 ** [out :: yup.la] stack level too deep
 ** [out :: yup.la] (in /srv/www/portrait/releases/20120406051647/app/assets/stylesheets/mobile.css.scss)
 ** [out :: yup.la] 
 ** [out :: yup.la] Tasks: TOP => assets:precompile:primary
 ** [out :: yup.la] (See full trace by running task with --trace)
 ** [out :: yup.la] 
    command finished in 30868ms
*** [deploy:update_code] rolling back
  * executing "rm -rf /srv/www/portrait/releases/20120406051647; true"
    servers: ["yup.la"]
    [yup.la] executing command
    [yup.la] sh -c 'rm -rf /srv/www/portrait/releases/20120406051647; true'
    command finished in 288ms
failed: "sh -c 'cd /srv/www/portrait/releases/20120406051647 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile'" on yup.la
/Users/victorstan/Sites/portrait ∴ 
4

1 に答える 1

2

Gemfileでsass-railsのバージョンを3.1.5から3.1.4に変更してみてください。

于 2012-04-06T10:20:15.070 に答える