imathis / fancy-buttons

Fancy CSS Buttons using Compass
http://brandonmathis.com/projects/fancy-buttons/
819 stars 55 forks source link

file to import not found or unreadable #39

Closed pdewouters closed 12 years ago

pdewouters commented 12 years ago

Syntax error: File to import not found or unreadable: fancy-buttons. Load paths: F:/clients/localdev/wpdev/wp-content/themes/wpc-childtheme/sass C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.1/frameworks/blueprint/stylesheets C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.1/frameworks/compass/stylesheets C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-susy-plugin-0.9/sass Compass::SpriteImporter on line 1 of F:/clients/localdev/wpdev/wp-content/themes/wpc-childtheme/sass/buttons.scss

1: F:/clients/localdev/wpdev/wp-content/themes/wpc-childtheme/sass/buttons.scss

Config.rb has this require 'fancy-buttons'

and buttons.scss @import "fancy-buttons";

imathis commented 12 years ago

Did you run the install command? compass install -r fancy-buttons -f fancy-buttons

pdewouters commented 12 years ago

yes, it's an existing project. do I have to add this in config.rb? rails: compass.config, other: config.rb

imathis commented 12 years ago

It looks like it's not able to find the fancy-buttons gem. Perhaps you didn't install it? gem install fancy-buttons or something is wonky with your gem setup.

pdewouters commented 12 years ago

the gem is installed

imathis commented 12 years ago

Was it working before, or did you just try it for the first time? Honestly it seems like something isn't properly configured.

pdewouters commented 12 years ago

first time. the source is here: https://github.com/pdewouters/genesis-child-theme

imathis commented 12 years ago

I just checked out your code, uncommented the fancy-buttons stuff and I was able to compile it without any problems. Looks like this is an issue on your end.

pdewouters commented 12 years ago

thanks for that! it's weird because I'm using other gems without issues. I'll try re-installing

pdewouters commented 12 years ago

re-installing the gem did the trick