Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
shadcn CreditAttribution: shadcn commentedhmm, css_splitter doesn't have stylesheet. Are you running compass watch using bundler?
bundle exec compass watch
Comment #2
jenlamptonIn 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 ranbundle 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:...so now all I have to do is type
watch
Comment #3
shadcn CreditAttribution: shadcn commentedYeah 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.