guard / guard-compass

Guard::Compass automatically rebuilds scss|sass files when a modification occurs taking in account your compass configuration.
https://rubygems.org/gems/guard-compass
MIT License
58 stars 11 forks source link

make sure compass-rails is loaded #8

Closed ryankshaw closed 11 years ago

oliamb commented 12 years ago

If we require compass-rails, doesn't it means that guard-compass will work mostly with rails?

Guard tries to not depends on RoR to much, so I will likely close this pull request. Feel free to argument your commit if you think I'm wrong.

pjg commented 12 years ago

I think this might has to do with this error: /home/jkl/.rvm/gems/ruby-1.9.3-p194-perf/gems/sass-3.1.19/lib/sass/util.rb:370:inrails_root': ERROR: Rails.root is nil! (RuntimeError)` (also see https://github.com/chriseppstein/compass/issues/824).

rymai commented 11 years ago

I agree with @oliamb. Solution is most probably in chriseppstein/compass#824.