Victor S
Victor S

Reputation: 5142

Getting "stack level too deep" error when deploying with Capistrano, Rails 3.1 ruby 1.9.2

Here is the log for the cap deploy script output around where the error occurs. Anny suggestions why this might be happening? Thanks!

    [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 ∴ 

Upvotes: 0

Views: 1370

Answers (1)

錢錢進廳
錢錢進廳

Reputation: 70

Try to change your sass-rails version from 3.1.5 to 3.1.4 in your Gemfile.

Upvotes: 2

Related Questions