3

我不明白:我配置了一个 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

我究竟做错了什么?

一些可能有用的截图:

在此处输入图像描述

在此处输入图像描述

4

1 回答 1

6

好的,我想通了。

我必须设置这个环境变量:

GEM_PATH : /Users/peter_goebel/.rvm/gems/ruby-1.9.3-p194
于 2013-07-11T12:12:28.173 回答