3

I am attempting to install taps from my Heroku app folder. When I type "gem install taps," I get the following error:

ERROR: While executing gem ... (Errno::EACCES) Permission denied - /Users/jacob/.rvm/gems/ruby-1.9.3-p194/gems/taps-0.3.24/bin/taps

I attempted to remove the taps-0.3.24 folder using rm -r and got this question: override rwxr-xr-x root/staff for /Users/jacob/.rvm/gems/ruby-1.9.3-p194/gems/taps-0.3.24//bin/schema?

Upon typing yes, it tells me permission denied. Here is the whole exchange:

Jacob-MacBook-Pro:furious-ocean-6122012 jacob$ rm -r /Users/jacob/.rvm/gems/ruby-1.9.3-p194/gems/taps-0.3.24/ override rwxr-xr-x root/staff for /Users/jacob/.rvm/gems/ruby-1.9.3-p194/gems/taps-0.3.24//bin/schema? yes rm: /Users/jacob/.rvm/gems/ruby-1.9.3-p194/gems/taps-0.3.24//bin/schema: Permission denied override rw-r--r-- root/staff for /Users/jacob/.rvm/gems/ruby-1.9.3-p194/gems/taps-0.3.24//bin/schema.cmd?

Any thoughts on how to resolve this issue would be appreciated. Thanks!

4

2 回答 2

0

我在尝试让 Heroku Toolbelt 运行时遇到了这个问题。我能够删除旧版本,sudo rm -rf /path/to/gems/taps-x.x.x然后重新安装(没有 sudo)。

于 2013-04-28T21:04:17.373 回答
0

您应该在“gem....”之前添加“sudo”

于 2016-12-13T01:38:15.583 回答