Stack level is too deep, with compass rails, skid and susi

I am a little upset by this error, which I cannot understand. I used to have a html.erb file that used a css file, but now I switched to scss and added sass-rails, compass-rails and susy. It generates this error when I try to load the same page.

Error:

Display [..] / app / views / layouts / shared.html.erb, where line # is raised:

level too high

(in [..] / app / assets / stylesheets / sharepage_new / screen.css.scss)

From terminal:

ActionView :: Template :: Error (stack level is too high (in [..] / app / assets / stylesheets / sharepage_new / screen.css.scss)): sprockets (2.1.3) lib / sprockets / context.rb: 180

Rendered / Users / me / .rvm / gems / ruby-1.9.3-p194 / gems / actionpack-3.2.0 / lib / action_dispatch / middleware / templates / rescues / _trace.erb (1.0ms) Rendered / Users / me / .rvm / gems / ruby-1.9.3-p194 / gems / actionpack-3.2.0 / lib / action_dispatch / middleware / templates / rescues / _request_and_response.erb (0.7 ms) Rendered / Users / me / .rvm / gems /ruby-1.9.3-p194/gems/actionpack-3.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within the savior / layout (3.5 ms)

From the gemfile:

group :assets do gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.1' gem 'compass-rails', '>= 1.0.3' gem 'susy', git: "git://github.com/ericam/susy.git" gem 'uglifier', '>= 1.0.3' end 
+4
source share
1 answer

Isn't that an indent error? There should be no problems with scss tho ..

0
source

Source: https://habr.com/ru/post/1436467/


All Articles