我不明白:我配置了一个scss文件观察器,但每次编译开始时,PhpStorm都会抛出这个错误:
/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
我做错了什么?
一些可能有帮助的屏幕截图:
答案 0 :(得分:6)
好的,我明白了。
我必须设置此环境变量:
GEM_PATH : /Users/peter_goebel/.rvm/gems/ruby-1.9.3-p194