0

When I try to run the compile command below for compass I get an error saying sub is undefined for nil:Nilclass.

Command

compass compile hack-stack/app/styles --relative-assets --sass-dir hack-stack/app/styles --output-style expanded --images-dir images --css-dir public

Error

compass-0.12.6/lib/compass/compiler.rb: undefined method `sub' for nil:NilClass

I'm running ruby version 2.0.0p0 and compass version 0.12.6.

What is wrong with the command I'm running?

Chad
  • 18,076
  • 8
  • 31
  • 41
  • What version of Sass are you using? Have you tried updating to the current stable version of Ruby (v2.1.2)? – KatieK May 12 '14 at 19:11
  • I'm using 3.3.7 (Maptastic Maple) and Compass 0.12.6 (Alnilam). I just updated to 2.1.2. Still getting the same error. – Chad May 13 '14 at 03:21
  • Did you solve this issue? What was the solution? – Naor Feb 09 '15 at 07:14

1 Answers1

0

You need the compass pre-release.

gem install compass --pre
chriseppstein
  • 10,453
  • 1
  • 25
  • 17