指南针 - 版本错误

时间:2015-12-10 16:53:38

标签: sass gruntjs compass

当我运行compass --version时,我收到以下错误:

/Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3@global/gems/bundler-1.10.6/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find sprockets-3.5.1 in any of the sources (Bundler::GemNotFound)
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3@global/gems/bundler-1.10.6/lib/bundler/spec_set.rb:85:in `map!'
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3@global/gems/bundler-1.10.6/lib/bundler/spec_set.rb:85:in `materialize'
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3@global/gems/bundler-1.10.6/lib/bundler/definition.rb:140:in `specs'
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3@global/gems/bundler-1.10.6/lib/bundler/definition.rb:185:in `specs_for'
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3@global/gems/bundler-1.10.6/lib/bundler/runtime.rb:13:in `setup'
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3@global/gems/bundler-1.10.6/lib/bundler.rb:129:in `setup'
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3@global/gems/bundler-1.10.6/lib/bundler.rb:134:in `require'
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3/gems/compass-1.0.3/bin/compass:26:in `<top (required)>'
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3/bin/compass:23:in `load'
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3/bin/compass:23:in `<main>'
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval'
    from /Users/AC-PCARDOSO-MAC/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>'

然后我尝试使用以下方法安装缺少的gem:

rvm @global do gem install sprockets

gem install sprockets

即便如此,我仍然会遇到同样的错误。

我尝试卸载并重新安装SASS和COMPASS,但它没有用。

*我正在使用El Captain

0 个答案:

没有答案