bundle install in my new subtheme folder:

Fetching gem metadata from https://rubygems.org/...........
Fetching additional metadata from https://rubygems.org/..
Using sass 3.4.9
Using bootstrap-sass 3.3.1.0
Using chunky_png 1.3.3
Using multi_json 1.10.1
Using compass-core 1.0.1
Using compass-import-once 1.0.5
Using rb-fsevent 0.9.4
Using ffi 1.9.6
Using rb-inotify 0.9.5
Using compass 1.0.1
Using compass_radix 3.1.5
Installing sass-globbing 1.1.1
Using bundler 1.6.2
Your bundle is complete!

Then bundle exec compass compile returns an error:
LoadError on line ["179"] of /Users/kopeboy/.rvm/gems/ruby-2.1.2/gems/compass-core-1.0.1/lib/compass/configuration/data.rb: cannot load such file -- sass-globbing
and my .css files are not generated.

It used to work on my previous projects..
I just tried substituting the radix folder with the one from Github without any change.

Comments

kopeboy’s picture

Issue summary: View changes
kopeboy’s picture

If I run bundle install and bundle exec compass watch inside the "radix" folder (instead of my subtheme), everything works as expected.

kopeboy’s picture

I substituted the config.rb file from one of my other projects and it worked..

The difference is this line:
require 'sass-globbing';

So I went on installing it: gem install sass-globbing
Put back the original config.rb and re-run bundle install in my subtheme folder..
and bundle exec compass watch still doesn't work!

shadcn’s picture

Looking into this.

shadcn’s picture

Ha! Crazy. A gem dependency is missing in the Gemfile.

Quick fix:

  1. Add the following to your subtheme Gemfile: gem 'sass-globbing', '~> 1.1.1'
  2. Run bundle install
  3. Run bundle exec compass watch

We'll fix and create a new release for Radix.

  • arshadcn committed a141e42 on 7.x-3.x authored by kopeboy
    Issue #2540588 by kopeboy: Error when running bundle install
    
shadcn’s picture

Status: Active » Fixed

We've created a new release with the fix. See https://www.drupal.org/node/2540680

(We've attributed the fix to you. See https://www.drupal.org/u/kopeboy. Thanks++)

kopeboy’s picture

Thanks to you! :) quick reply & fix

  • arshadcn committed e7b01f0 on 7.x-3.x authored by kopeboy
    Issue #2540588 by kopeboy: Error when running bundle install
    

Status: Fixed » Closed (fixed)

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