Instructions should mention that you need "sass-rails" #8

tysontate opened this Issue Feb 2, 2012 · 3 comments

5 participants



group :assets do
  gem 'compass-rails'

I get:

> bundle exec compass init
NoMethodError on line ["15"] of /Users/tyson/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/compass-rails-1.0.0.rc.1/lib/compass-rails.rb: undefined method `application' for Rails:Module
Run with --trace to see the full backtrace

But with:

group :assets do
  gem 'sass-rails',    :git => 'git://'
  gem 'compass-rails'

it works

This is on the latest rails HEAD.

Compass member

thanks ill get this documented i really that i couldn't directly depend on sass-rails because of rails 2.3 support


Doesn't seem you need this for rails 3.0. Just 3.1 I believe.


I myself hit this today.

@chriseppstein chriseppstein added a commit that closed this issue Feb 26, 2012
@chriseppstein chriseppstein Update docs to show when sass-rails is needed.
In rails 3.1 or greater, the sass-rails gem is required.

Closes GH-8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment