Rails 3.2.12 sass / compass @import application does not work only in production

Ok, so I had this problem before where the @import extension was required in my css.scss files:

@import 'layout.css.scss'

instead

@import 'layout'

I don’t know why this happens only in production (locally I have no problems). I don’t like to add the extension, I don’t know why, I think it just annoys me that I should print it? :)

My problem that I encountered is that I cannot get the compass to work in production. I use a compass gem. I have a _config.css.scss file that has the following import at the top:

@import "compass";
@import "compass/css3";

I tried adding css.scss to them and then no files were found (even locally). So my questions are these:

- , @import (-) ?

, Compass ?

.

, Stackoverflow, .

Sass Rails 3 - " : "

, :

Completed 500 Internal Server Error in 920ms
ActionView::Template::Error (File to import not found or unreadable: compass.

UPDATE

.ssss

@import 'compass.scss'

" " LOCALLY.

:

ActionView::Template::Error (File to import not found or unreadable: compass.scss

, , , , Compass gem ?

+5
1

Gemfile.lock gem 'compass' gem 'compass-rails' Gemfile. bundle install env.

+7

All Articles