尝试使用rvm uninstall 2.2.1卸载ruby 2.2.1时权限被拒绝

时间:2015-08-30 06:49:01

标签: ruby-on-rails ruby gem rubygems

我正在使用OS X Yosemite版本10.10.4,而且我是ruby和rails的新手。试图为我正在服用的udemy类构建一个测试应用程序,并且无法卸载ruby重新开始。

rm: /Users/thomascalhoun/.rvm/rubies/ruby-2.2.1/lib/ruby/gems/2.2.0/gems/tzinfo-1.2.2/test/zoneinfo: Permission denied
rm: /Users/thomascalhoun/.rvm/rubies/ruby-2.2.1/lib/ruby/gems/2.2.0/gems/tzinfo-1.2.2/test: Permission denied
rm: /Users/thomascalhoun/.rvm/rubies/ruby-2.2.1/lib/ruby/gems/2.2.0/gems/tzinfo-1.2.2/tzinfo.gemspec: Permission denied
rm: /Users/thomascalhoun/.rvm/rubies/ruby-2.2.1/lib/ruby/gems/2.2.0/gems/tzinfo-1.2.2: Directory not empty
rm: /Users/thomascalhoun/.rvm/rubies/ruby-2.2.1/lib/ruby/gems/2.2.0/gems: Directory not empty
rm: /Users/thomascalhoun/.rvm/rubies/ruby-2.2.1/lib/ruby/gems/2.2.0: Directory not empty
rm: /Users/thomascalhoun/.rvm/rubies/ruby-2.2.1/lib/ruby/gems: Directory not empty
rm: /Users/thomascalhoun/.rvm/rubies/ruby-2.2.1/lib/ruby: Directory not empty
rm: /Users/thomascalhoun/.rvm/rubies/ruby-2.2.1/lib: Directory not empty
rm: /Users/thomascalhoun/.rvm/rubies/ruby-2.2.1: Directory not empty
++ typeset ret=1
++ rvm_debug '__rvm_rm_rf error removing target dir    '\''/Users/thomascalhoun/.rvm/rubies/ruby-2.2.1'\''.'
++ ((  0  ))
++ return 0
++ return 1

0 个答案:

没有答案