I have clean new Rails 4 app with Gemfile:
#default gems
gem \'compass-rails\'
gem \'zurb-foundation\'
gem \'thin\'
with style.scss:
<
Compass needs to have some key parts rewritten in order to support Rails 4. There is a temporary branch you can use that has hacked together some support:
'gem "compass-rails", github: "milgner/compass-rails", ref: "1749c06f15dc4b058427e7969810457213647fb8"
You can follow https://github.com/Compass/compass-rails/pull/59 for the latest updates.
Update:
There is now a version in alpha.
gem "compass-rails", "~> 2.0.alpha.0"
Update 2: compass-rails is no longer in alpha.
Add the following to your Gemfile and type bundle install
.
gem "compass-rails", "~> 1.1.2"