doabit / semantic-ui-sass

Semantic UI, converted to Sass and ready to drop into Rails & Compass.
MIT License
1.15k stars 192 forks source link

"Cannot find image" Error when including semantic-ui/collections/form #8

Closed martisj closed 10 years ago

martisj commented 10 years ago

I am trying to use this compass plugin with yeoman.io's default webapp generator, and I've added the require: 'semantic-ui-sass' option to the Gruntfile.js

When running grunt compass I get this error:

Errno::ENOENT on line ["250"] of /Users/martin/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/compass-0.12.3/lib/compass/sass_extensions/functions/urls.rb: No such file or directory - /Volumes/IronMan/Dropbox/sites/timetraveler/www/app/images/semantic-ui/loader-large.gif

Any ideas why this might be?

doabit commented 10 years ago

@martisj You could create config.rb in project root path.

require 'semantic-ui-sass'
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = ".tmp/styles"
fonts_dir = "app/styles/fonts"
sass_dir = "app//styles"
images_dir = "app/images"
javascripts_dir = "app/scripts"

Run compass install semantic-ui, it should generate assets files. Then you could delete confog.rb.

martisj commented 10 years ago

Right thanks!

After seeing the part on 'Installing assets' I got it working :)

Sorry for any inconvenience.

On Tue, Mar 18, 2014 at 2:52 AM, Sean Deng notifications@github.com wrote:

@martisj https://github.com/martisj You could create config.rb in project root path.

require 'semantic-ui-sass'

Require any additional compass plugins here.

Set this to the root of your project when deployed:

http_path = "/" css_dir = ".tmp/styles" fonts_dir = "app/styles/fonts" sass_dir = "app//styles" images_dir = "app/images" javascripts_dir = "app/scripts"

Run compass install semantic-ui, it should generate assets files. Then you could delete confog.rb.

Reply to this email directly or view it on GitHubhttps://github.com/doabit/semantic-ui-sass/issues/8#issuecomment-37892235 .

doabit commented 10 years ago

You are welcome.