Issue with Compass/Sass config.rb

I am trying to update my asset directories within my scss config.rb file. I need to access compass mixins such as height: image-height($image); For this to work, my images path has to be relative to my project's image directory, defined in your config.rb file. However, I cannot get this to work. I have used the compass url_helpers but nothing seems to be changing. No matter how I update the assets in my config.rb, the following is returned when declaring an image variable in my scss..."No such file or directory @ rb_sysopen - /private/var/www/websites/gc/app/sites/all/themes/merge/scss/../images/../search-b-image.jpg" Where is this ../images/.. coming from if its not in my config.rb? Any help is much appreciated.

config.rb file is:

http_path = "/"

css_dir = "compiled_css"
sass_dir = "scss"
images_dir = "img"
javascripts_dir = "js"
environment = :development
relative_assets = true
output_style = :expanded

output_style = :compressed

preferred_syntax = :scss
链接地址: http://www.djcxy.com/p/91676.html

上一篇: Symfony2:如何使用FOSUserBundle创建多个注册表单

下一篇: 问题与指南针/萨斯config.rb