Beep Edition 7.x-1.0
Compass 1.0.0.alpha.17
Sass 3.3.0rc.2
Ruby 2.0.0p <2013-02-24> [i386-mingw32]
Windows 7
WAMP

Tried running compass watch on a Beep Edition beta theme and got:

LoadError on line ["45"] of C: cannot load such file -- wdm
Run with --trace to see the full backtrace

so I figured I was missing this file. Tried to install it (gem install wdm) and got:

Fetching: wdm-0.1.0.gem (100%)
ERROR: Error installing wdm:
The 'wdm' native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'

So I installed the Ruby DevKit and then installed the wdm gem successfully (I think).

I then downloaded Beep Edition 7.x-1.0, created a subtheme and launched compass watch.

Upon changing screen.scss, I received the message below in the command window. It's happening on other sass-based themes (Zen) so it's not just Beep Edition but I was hoping to get some help here. Do I need to upgrade to a newer version of Sass? Compass? Ruby?

C:\wamp\www\drupal-7.24\sites\all\themes\beep_edition_subtheme>compass watch
>>> Compass is watching for changes. Press Ctrl-C to Stop.
info sass/screen.scss was modified
WARNING: Compass has changed how browser support is configured. See the CHANGELOG for more details. The following configuration variables are no longer support
d: $legacy-support-for-ie6,$legacy-support-for-ie7,$legacy-support-for-ie8.
on line 379 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/_support.scss
from line 3 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/css3/_border-radius.scss
from line 1 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/_css3.scss
from line 183 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_base.scss
from line 2 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/screen.scss

WARNING: Paremeter $from-context must resolve to a value in pixel units.
on line 43 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/typography/_units.scss
from line 4 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/_typography.scss
from line 184 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_base.scss
from line 2 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/screen.scss

WARNING: Parameter $to-context must resolve to a value in pixel units.
on line 44 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/typography/_units.scss
from line 4 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/_typography.scss
from line 184 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_base.scss
from line 2 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/screen.scss

WARNING: is an unknown length unit. Returning original value.
on line 70 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/typography/_units.scss
from line 4 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/_typography.scss
from line 184 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_base.scss
from line 2 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/screen.scss

WARNING: $base-font-size must resolve to a pixel unit.
on line 46 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/typography/_vertical_rhythm.scss
from line 4 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/_typography.scss
from line 184 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_base.scss
from line 2 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/screen.scss

WARNING: $base-line-height must resolve to a pixel unit.
on line 47 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/typography/_vertical_rhythm.scss
from line 4 of C:/Ruby200/lib/ruby/gems/2.0.0/gems/compass-core-1.0.0.alpha.16/stylesheets/compass/_typography.scss
from line 184 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_base.scss
from line 2 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/screen.scss

DEPRECATION WARNING on line 61 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_layout.scss:
Assigning to global variable "$zen-column-count" by default is deprecated.
In future versions of Sass, this will create a new local variable.
If you want to assign to the global variable, use "$zen-column-count: 8 !global" instead.

DEPRECATION WARNING on line 62 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_layout.scss:
Assigning to global variable "$zen-gutter-width" by default is deprecated.
In future versions of Sass, this will create a new local variable.
If you want to assign to the global variable, use "$zen-gutter-width: 1.5em !global" instead.

DEPRECATION WARNING on line 111 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_layout.scss:
Assigning to global variable "$zen-column-count" by default is deprecated.
In future versions of Sass, this will create a new local variable.
If you want to assign to the global variable, use "$zen-column-count: 10 !global" instead.

DEPRECATION WARNING on line 112 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_layout.scss:
Assigning to global variable "$zen-gutter-width" by default is deprecated.
In future versions of Sass, this will create a new local variable.
If you want to assign to the global variable, use "$zen-gutter-width: 3em !global" instead.

DEPRECATION WARNING on line 199 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_layout.scss:
Assigning to global variable "$zen-column-count" by default is deprecated.
In future versions of Sass, this will create a new local variable.
If you want to assign to the global variable, use "$zen-column-count: 12 !global" instead.

DEPRECATION WARNING on line 200 of C:/wamp/www/drupal-7.24/sites/all/themes/beep_edition_subtheme/sass/_layout.scss:
Assigning to global variable "$zen-gutter-width" by default is deprecated.
In future versions of Sass, this will create a new local variable.
If you want to assign to the global variable, use "$zen-gutter-width: 3em !global" instead.

overwrite css/screen.css

Comments

jpamental’s picture

Actually looks like you have newer versions of Ruby and Compass. I've not even looked at that yet so not really sure what I can do about that yet. I'll keep you posted...

Jason

stanb’s picture

I'd just like to provide a status update for this issue. I have uninstalled Sass 3.3.0.rc.2, Compass 1.0.0.alpha.17 and Breakpoint. I re-installed Sass 3.2.13 and Compass 0.12.2 (but NOT Breakpoint), I tested the command compass watch on two sub-themes that do NOT require Breakpoint (Zen 7.x-5.3 sub-theme and Beep Edition 7.x-1.x-dev sub-theme) and everything seemed to run fine.

I am hesitant to install Breakpoint with my current versions of Sass and Compass because the Breakpoint docs say:

Breakpoint 2.2.x requires Sass 3.3.0.rc.2 and Compass 1.0.0.alpha.13 or higher.

The Breakpoint docs also say to run Sass and Compass commands through Bundler. I am using the command line to run the compass command compass watch.

Could this be the problem? Should I be using Bundler?

stanb’s picture

I discovered a link that describes how to disable Sass warnings:

Add disable_warnings to config.rb

Add "disable_warnings = true" in the config.rb file for the sub-theme.

Would still like to now why the warnings are being generated if anyone has any insight. Thanks.

jpamental’s picture

Looks like it may be possible to upgrade, but you can also install the older Breakpoint gem. Check here: https://github.com/Team-Sass/breakpoint/wiki/Installation#upgrading-from...

nicxvan’s picture

I also get these errors, things seem to install but it likely has to do with running a newer version of sass.

stanb’s picture

I just uninstalled compass, sass and breakpoint and reinstalled the following versions:

compass 0.12.6
sass 3.2.19
breakpoint 1.3

Everything works fine (so far). I'm not sure what the last version of breakpoint is that will work with compass 0.12.6 but breakpoint version 1.3 does work with it.

For completeness, I have the following gems currently installed:

bigdecimal (1.2.0)
breakpoint (1.3)
chunky_png (1.2.7)
compass (0.12.6)
compass-import-once (1.0.2)
ffi (1.9.3 x86-mingw32)
fssm (0.2.10)
haml (4.0.5)
io-console (0.4.2)
json (1.7.7)
listen (1.1.6)
minitest (4.3.2)
multi_json (1.8.3)
psych (2.0.0)
rake (0.9.6)
rb-fsevent (0.9.4)
rb-inotify (0.9.3)
rb-kqueue (0.2.0)
rdoc (4.0.0)
sass (3.2.19)
sassy-maps (0.4.0)
test-unit (2.0.0.0)
tilt (2.0.0)
wdm (0.1.0)
zen-grids (1.4)

My version of ruby is:
Ruby 2.0.0p <2013-02-24> [i386-mingw32]

johns996’s picture

Thanks for the version numbers stanb. I just migrated over to a new mac and after installing all the newest versions of compass/sass/breakpoint I got the pleasant surprise that they don't work together out of the box anymore. After I plugged your versions into bundler it all worked the way it use to. In the event someone else is having the same issues, here is my step by step process to get everything running on a new mac.

To set up SASS/Compass/Breakpoint:

#Start by installing homebrew (so we can install a user-specific version of ruby to work with)
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

#Make a brew caches directory
mkdir ~/Library/Caches/Homebrew

#install a ruby version management system using homebrew
brew update
brew install rbenv ruby-build

#add rbenv shortcuts to the terminal
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile

#install ruby
rbenv install -l
##find latest version from this list and replace versions number below
rbenv install 2.1.2

#get bundler to help with gem version management
gem update system
gem install bundler

#a Gemfile will need to be created in all project directories that dictates the gems and their versions

# A sample Gemfile
	source "https://rubygems.org"

	#for newer versions of breakpoint/compass/sass
	#gem 'breakpoint', '~>2.4.0'
	#gem 'compass', '~>1.0.0.alpha.13'

	#for older versions of breakpoint/compass/sass
	gem 'breakpoint', '~>1.3'
	gem 'compass', '~>0.12.6'
	gem 'sass', '~>3.2.19'

#run the bundle install command from the project directory to download the gem versions that you need
bundle install

#you then have to prefix all SASS/Compass commands with a special "bundle exec" command to do anything using these specific gem versions
#bundle exec
bundle exec compass compile --dry-run

jpamental’s picture

Thanks for the write-up John! I'll be going through the new branch and updating to the latest Sass, etc. - but probably only for the 2.x one.

jpamental’s picture

Status: Active » Closed (won't fix)

I'm working on an update in the latest branch but won't be doing any more work on 1.x.