1

我最近在我的 Mac 上安装了 OSX Mavericks,在此之前我使用指南针手表没有任何问题。

现在,当我尝试在终端中做“指南针手表”时

Errno::EACCES on line ["1143"] of /Users/Dan/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/fileutils.rb: Permission denied - /Users/Dan/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/gems/2.0.0/gems/compass-0.13.alpha.10/frameworks/compass/stylesheets/.listen_test

您可能已经注意到,我已经通过 rvm 安装了 Ruby(我尝试过解决问题,但没有运气)。

我的路径文件(/etc/paths)如下所示:

/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin

我的 .bash_profile 文件如下所示:

export PATH=$PATH:$HOME/.rvm/bin

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

我的 .bashrc 文件如下所示:

PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

当我在终端中执行“echo $PATH”时,我得到以下信息:

/Users/Dan/.rvm/gems/ruby-2.0.0-p247/bin:/Users/Dan/.rvm/gems/ruby-2.0.0-p247@global/bin:/Users/Dan/.rvm/rubies/ruby-2.0.0-p247/bin:/Users/Dan/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

我的宝石环境:

RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.6
  - RUBY VERSION: 2.0.0 (2013-06-27 patchlevel 247) [x86_64-darwin12.3.0]
  - INSTALLATION DIRECTORY: /Users/Dan/.rvm/gems/ruby-2.0.0-p247
  - RUBY EXECUTABLE: /Users/Dan/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/Dan/.rvm/gems/ruby-2.0.0-p247/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-12
  - GEM PATHS:
     - /Users/Dan/.rvm/gems/ruby-2.0.0-p247
     - /Users/Dan/.rvm/gems/ruby-2.0.0-p247@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/

额外信息:我正在运行另一个使用 grunt 的项目,当我执行“grunt server”并编辑我的 .scss 文件时,它们会被完美地监视并编译成 css。

丹弟兄

4

0 回答 0