我在尝试使用 WebStorm LESS File Watcher 时遇到此错误
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem less (>= 0) (Gem::LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in `activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in `gem'
from /Users/me/.rvm/gems/ruby-1.9.3-p194/bin/lessc:18
from /Users/me/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14
我正在运行 OSX Mountain Lion
我如何解决它?
编辑:
我做了这个...
gem install less
Successfully installed less-2.3.2
1 gem installed
没有帮助。
编辑2:
我在 LESS Filewatcher 设置面板中摆弄了路径
现在我明白了
/Users/me/.rvm/gems/ruby-2.0.0-p195/bin/lessc --no-color bootstrap.less
env: ruby_noexec_wrapper: No such file or directory
这感觉像是进步,但可惜我还没有编译成 css。