Guard-Compass fails to act on changes in Raisl 2.3.9 (Ruby 1.9.3-p327)
I have a Rails application that I’m upgrading from 3.1.1 to 3.2.9. Since
I have a few applications to upgrade, I’m doing this one from scratch so
that I can be sure as I add components that they work. Unfortunately,
guard-compass is giving me headaches. BTW, everything works fine under
3.1.1 (although I had a similarly difficult time setting that up too).
I have created a test app on github that demonstrates the issue. You can find it at:
Starting rails gives this error:
$ rails s
/Users/…/.rvm/gems/ruby-1.9.3-p327/gems/sass-3.2.3/lib/sass/util.rb:395:in `rails_root’: ERROR: Rails.root is nil! (RuntimeError)
And trying to use guard gives me lots of errors.
15:08:19 - INFO - Rails started, pid 7351
15:08:19 - ERROR - Guard::Compass failed to achieve its , exception was:
[#0931A55A3053] Compass::Error: No application integration exists for rails
15:08:19 - INFO - Guard::Compass has just been fired
15:08:19 - INFO - LiveReload 1.6 is waiting for a browser to connect.
15:08:19 - INFO - Starting Spork for RSpec
Preloading Rails environment
ERROR: Rails.root is nil! (RuntimeError)
ERROR: Rails.root is nil!
Compass::Error: No application integration exists for rails
keep coming up and goggle is not helping me find any kind of solution.