I'm not sure if this is the place to file issues/feature requests against compass_radix, so forgive me if it is not.

I really like to use the source maps feature of Sass/Compass when developing locally. Because compass_radix has a dependency on Compass ~> 0.12 we cannot use this feature.

Is there anything preventing the gem dependencies being updated?

Comments

dags’s picture

+1

Some Bootswatch themes (Cerulean) are no longer compatible with SASS 3.2.x. I opened an issue in the Compass Radix GitHub queue: https://github.com/arshad/compass_radix/issues/9

dags’s picture

arshadcn updated the 3.x branch of compass_radix (https://github.com/arshad/compass_radix/) to use compass-1.0 as the minimum version. If you'd like to help test with your existing Radix subtheme, update the Gemfile to use the newer versions of compass, bootstrap-sass, and compass_radix:

radix_subtheme/Gemfile

# Pull gems from RubyGems
source 'https://rubygems.org'

# Radix gems
gem 'compass', '~> 1.0'
gem 'bootstrap-sass', '~> 3.3'
gem 'compass_radix', :git => 'http://github.com/arshad/compass_radix', :branch => '3.x'

and then run:

bundle update
compass clean
compass compile

If you come across issues that are specific to compass_radix, those could be reported to GitHub: https://github.com/arshad/compass_radix/issues/9. If you're not sure, just report them here.

dshumaker’s picture

Awesome!! Thanks @dags, this is just what I needed because I wanted to use sourceMaps as well. After your #2 instructions, sourcemaps & compass 1.0.1 + radix subtheme are working great in firebug. I'm still having a somewhat (chrome only) related issue as noted here:

http://stackoverflow.com/questions/27388496/compass-sourcemaps-causing-404 (note: this issue was not using the radix subtheme but a zen subtheme - but the similaries are compass 1.0.1 sass and sourcemaps)

But other than that things are great. Thanks again.

shadcn’s picture

Status: Active » Fixed

Marking this issue as fixed. Feel free to reopen if you have any question. Thanks.

Status: Fixed » Closed (fixed)

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

jenlampton’s picture

@dshumaker how were you able to get your sourcemaps working with Radix?

I'm finally moving away from my beloved FireBug, and since the FireFox built-in inspector uses sourcemaps now for Sass debugging. I'm upgrading all my Radix themes to use them too. I've modified my Gemfile as stated above, but sourcemaps are not being automatically generated when I run bundle exec compass watch.

edit: I had forgotten to add the following code to my config.rb file. Hope this note helps the next person!

# Enable sourcemaps.
sourcemap = (environment == :development) ? true : false
dshumaker’s picture

@jenlampton - Indeed, I also use that for some other debug settings, as do you probably:

line_comments = (environment == :development) ? true : false
output_style = (environment == :development) ? :expanded : :compressed
relative_assets = true
sass_options = (environment == :development) ? {:line_comments => true} : {:always_update =>true}

:)