bdkjones / CodeKit-1-Old

146 stars 1 forks source link

Bug: codekit does not support sprite_load_path in config.rb #585

Open krisbulman opened 11 years ago

krisbulman commented 11 years ago

Since Compass 0.12, sprite_load_path has been supported in Compass to have separate load paths for sprites. This works fine in commandline with compass, however does not work in codekit.

To reproduce, add this to the config.rb

  sprite_load_path     = "assets/sprites"
  generated_images_dir = "images"

add some sprite images to assets/sprites, and set up a spriting call, then compile with codekit. The error will be something like:

Compass was unable to compile one or more files in the project: 
No files were found in the load path matching "*.png". Your current load paths are: assets/sprites

I have reported the bug to handlino (compass.app), and it was recently fixed. Also confirmed this is not a problem with fire.app. A workaround is to add Dir.chdir(File.dirname(__FILE__)) to config.rb to get it to compile.