2013-03-12 2 views
0

나침반 0.12.2 ... config.rb에서 구성 참조 http_images_path를 사용하려고하는데이 참조를 사용하는 것처럼 보이지 않습니다 ... 여전히 내 로컬 디렉토리로 이미지를 해결 ... 내가 뭔가를 놓친 건가요?나침반 및 http_images_path

도움 주셔서 감사합니다.

Config.rb

http_path = "/" 
# Get the directory that this configuration file exists in 
dir = File.dirname(__FILE__) 
# Compass configurations 
sass_path = dir 
css_path = File.join(dir, "..", "css") 
#images_dir = "../resources/images" 
http_images_path = "http://myurl/img/" 
output_style = :expanded 
environment = :development 

CSS 파일 : 당신이 나침반 시계에있는 경우

@import "compass"; 

.dir 
{ 
    background: image-url("guide.jpg"); 
} 

답변

0

... 당신을 적용 config.rb 업데이트 한을 다시 시작해야합니다.