Note that there are some explanatory texts on larger screens.

plurals
  1. PO"rake aborted! stack level too deep" while deploying to Heroku
    primarykey
    data
    text
    <p>My website used to be working and Heroku precompiled the assets and everything. Now, seemingly out of nowhere, I started to get this message on deploy:</p> <pre><code>Preparing app for Rails asset pipeline Running: rake assets:precompile mkdir -p /tmp/build_31cexir1p9pwn/public/assets mkdir -p /tmp/build_31cexir1p9pwn/public/assets/icons mkdir -p /tmp/build_31cexir1p9pwn/public/assets/icons mkdir -p /tmp/build_31cexir1p9pwn/public/assets mkdir -p /tmp/build_31cexir1p9pwn/public/assets (in /tmp/build_31cexir1p9pwn) mkdir -p /tmp/build_31cexir1p9pwn/public/assets mkdir -p /tmp/build_31cexir1p9pwn/public/assets rake aborted! stack level too deep (in /tmp/build_31cexir1p9pwn/app/assets/stylesheets/theme.css.scss) (See full trace by running task with --trace) Precompiling assets failed, enabling runtime asset compilation Injecting rails31_enable_runtime_asset_compilation </code></pre> <p>It can't precompile my css file.</p> <p>I'm using cedar stack and this is my gemfile:</p> <pre><code>gem 'rails', '3.1.0' gem 'rake', '0.8.7' gem 'devise' group :production do gem 'pg' gem 'thin' end group :assets do gem 'sass-rails', " ~&gt; 3.1.0" gem 'coffee-rails', "~&gt; 3.1.0" gem 'uglifier' end </code></pre> <p>Here's my application.rb file</p> <pre><code># Enable the asset pipeline config.assets.enabled = true # Version of your assets, change this if you want to expire all your assets. config.assets.version = '1.0' </code></pre> <p>And here's my production.rb file</p> <pre><code># Code is not reloaded between requests config.cache_classes = true # Full error reports are disabled and caching is turned on config.consider_all_requests_local = false config.action_controller.perform_caching = true # Enable Rails's static asset server (Apache or nginx will not need this) config.serve_static_assets = true # Set expire header of 30 days for static files config.static_cache_control = "public, max-age=2592000" # Allow JavaScript and CSS compression config.assets.compress = true # Compress JavaScript by removing whitespace, shortening variable names, ... config.assets.js_compressor = :uglifier # Don't fallback to assets pipeline if a precompiled asset is missed config.assets.compile = true </code></pre> <p>Now all my links to images are broken (I'm using image-url() in my css file). What could be the problem and how do I fix it?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

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