Skip to content
This repository

Sass::SyntaxError: File to import not found or unreadable: compass/reset back with Rails 3.2.RC1 #654

Closed
wleeperogs opened this Issue · 12 comments

7 participants

Bill Leeper aaronchi Joe Scott Davis Felipe Lima Philip Ingram Elad Ossadon
Bill Leeper

With the release of rails 3.2.RC1 compass can't find the scss files again.

I have:

"@import 'compass/reset'" in one of my css files and it give the error in the subject line.

I have tried the alpha2 as well as the Master branch with no help.

Bill Leeper wleeperogs closed this
aaronchi

this seems to be an issue with sass-rails... we'll probably need to wait for a fix from the core rails team

Joe

I have this exact issue on Rails 3.2.1 and Sass-Rails 3.2.3, and compass 0.12.rc.1

Joe

bump Edited versions in comment above

Scott Davis
Collaborator

did you install compass-rails?

Joe

Looks like it came down to this solution

plataformatec/devise@96f55a7#diff-1

Felipe Lima

For me, the fix was simply taking gem 'compass/rails' out of group :assets in the Gemfile.

Scott Davis
Collaborator

im having zero issues on 3.2.2

Philip Ingram

@felipecsl you are da man. That fix worked for me too. Now if we could only know why (or if we had the time to spelunk!)

Elad Ossadon

I just had the same problem and a quick google brought me here.

I used on a different project gem 'compass' and on a new one it gave me this error. I should've used gem 'compass-rails'

The reason it worked on the previous project was because I had

config.sass.load_paths << Compass::Frameworks['compass'].stylesheets_directory

under application.rb, but gem 'compass-rails' takes care of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.