My gemfile recently updated my compass gem. I started getting the following error (production only for the hero - it works fine locally) and got stuck on it for several hours:
Completed 500 Internal Server Error in 14284ms 2012-09-03T20:53:25+00:00 app[web.1]: 2012-09-03T20:53:25+00:00 app[web.1]: ActionView::Template::Error (File to import not found or unreadable: compass/css3. 2012-09-03T20:53:25+00:00 app[web.1]: Load path: Sass::Rails::Importer(/app/app/assets/stylesheets/application.css.scss)
I think part of the problem should be that / app / app / appears here, but I don't understand why. When I change the compass configuration below to โassets / style sheetsโ, I still see / application / application / in the trace error.
production.rb:
compass.rb
# Require any additional compass plugins here. project_type = :rails sass_dir = "app/assets/stylesheets"
Gemfile
group :assets do gem 'sass-rails' gem 'coffee-rails' gem 'uglifier', '1.2.4' gem 'yui-compressor', '0.9.6' gem 'compass-rails' end
In my application.css.scss file:
@import "compass/css3";
I have tried every solution I can find without any luck so far
Is something sticking out?
source share