Hello. I'm working on a Radix sub-theme, but when I run compass watch I get the following error:

Errno::ENOENT on line ["26"] of /Library/Ruby/Gems/2.0.0/gems/listen-2.7.1/lib/listen/listener.rb: No such file or directory - /docroot/sites/all/themes/mytheme/extensions/css_splitter/stylesheets
Run with --trace to see the full backtrace

I grepped the codebase but couldn't find any instance of css_splitter/stylesheets so I'm not sure where it's getting that from. Any advice would be appreciated.

Comments

shadcn’s picture

hmm, css_splitter doesn't have stylesheet. Are you running compass watch using bundler? bundle exec compass watch

jenlampton’s picture

In case others suffer from this problem, I wasn't ever able to get compass watch to work with Radix themes (it works fine with Omega), but when I ran bundle exec compass watch I was able to get a bunch of more useful errors saying that I was missing specific versions of libraries. bundle install installed all the missing versions, and got my Radix theme working (and broke Omega). *sigh*

Since I don't want to type bundle exec compass watch I added the following line to my ~/.bash_profile:

alias watch='bundle exec compass watch'

...so now all I have to do is type watch

shadcn’s picture

Status: Active » Fixed

Yeah Radix requires some specific versions of gems, so we make use of the Gemfile and then run compass through bundler to make it use this specific version of compass.

You can do the same for Omega as well. It ships with its own Gemfile. See http://cgit.drupalcode.org/omega/tree/Gemfile?id=560dc2e09299d36b3496b50...

This way there's no conflict between compass versions used for Radix and Omega.

If you run bundle install for Omega then you can use the same watch alias created above to compass watch for both Radix and Omega.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.