Note that there are some explanatory texts on larger screens.

plurals
  1. POassets:precompile stack level too deep
    text
    copied!<p>I'm trying to have success on running the task rake assets:precompile but I have the following error </p> <pre><code>** Invoke assets:precompile (first_time) ** Execute assets:precompile rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace ** Invoke assets:precompile:all (first_time) ** Execute assets:precompile:all ** Invoke assets:precompile:primary (first_time) ** Invoke assets:environment (first_time) ** Execute assets:environment ** Invoke tmp:cache:clear (first_time) ** Execute tmp:cache:clear ** Execute assets:precompile:primary rake aborted! stack level too deep (in .../app/assets/stylesheets/admin/scaffolds.css.scss) .....rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/task.rb:162 Tasks: TOP =&gt; assets:precompile:primary rake aborted! Command failed with status (1): [/Users/diogui/.rvm/rubies/ruby-1.9.2-p320/...] .....rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/file_utils.rb:53:in `block in create_shell_runner' ....rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `call' ....rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `sh' ....rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `sh' ....rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/file_utils.rb:80:in `ruby' .....rvm/gems/ruby-1.9.2-p320@global/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `ruby' .....rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.1.1/lib/sprockets/assets.rake:9:in `ruby_rake_task' ....rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.1.1/lib/sprockets/assets.rake:17:in ` invoke_or_reboot_rake_task' </code></pre> <p>In my production.rb I have</p> <pre><code>config.serve_static_assets = false config.assets.enabled = true config.assets.compress = true config.assets.compile = true config.assets.digest = true </code></pre> <p>Yes I have Sass 3.1.4</p> <pre><code>group :assets do gem 'sass-rails', '~&gt; 3.1.4' gem 'coffee-rails', '~&gt; 3.1.1' gem 'uglifier', '&gt;= 1.0.3' end </code></pre> <p>Does anybody have an idea what is the problem ? Or what am I missing ? Thanks :)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload