我最近在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
当我在终端中“回显$ 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。
溴 丹