2013-07-11 64 views
3

我不明白這一點:我配置了一個SCSS文件守望者,但每次編譯開始時,PhpStorm拋出這個錯誤:PhpStorm SCSS文件守望者:「青菜未找到」

/Users/peter_goebel/.rvm/gems/ruby-1.9.3-p194/bin/scss --no-cache --update style.scss:style.css 
/Library/Ruby/Site/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find sass (>= 0) amongst [long list of gems...] (Gem::LoadError) 
    from /Library/Ruby/Site/1.8/rubygems/dependency.rb:256:in `to_spec' 
    from /Library/Ruby/Site/1.8/rubygems.rb:1231:in `gem' 
    from /Users/peter_goebel/.rvm/gems/ruby-1.9.3-p194/bin/scss:18 
    from /Users/peter_goebel/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14 

我在做什麼錯?

幾張截圖,可能會有所幫助:

enter image description here

enter image description here

回答

6

OK,我理解了它。

我必須設置此環境變量:

GEM_PATH : /Users/peter_goebel/.rvm/gems/ruby-1.9.3-p194 
+0

太感謝了,我節省了大量的時間來解決這個我自己! – bfncs