2013-06-01 3 views
5

मैं सामग्री के बहुत सारे खोज की है, लेकिन अभी भी हो, मुझे यकीन है कि rvm फ़ोल्डर अनुमति सही होना चाहिए हूँ क्या नहीं मिल रहा।अनुमति मुद्दों से इनकार किया जब उपयोग RVM रूबी स्थापित 2.0.0

$ rvm get stable 

A RVM version 1.20.13 (master) is installed yet 1.20.13() is loaded. 
Please do one of the following: 
    * 'rvm reload' 
    * open a new shell 
    * 'echo rvm_auto_reload_flag=1 >> ~/.rvmrc' # for auto reload with msg. 
    * 'echo rvm_auto_reload_flag=2 >> ~/.rvmrc' # for silent auto reload. 

और rvm संस्करण की जांच:

$ rvm --version 

rvm 1.20.13 (master) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/] 

फिर माणिक 2.0.0 स्थापित:

$ rvm install 2.0.0 

mkdir: /Users/xudannie/.rvm/log/ruby-2.0.0-p195: Permission denied 
mkdir: /Users/xudannie/.rvm/log/ruby-2.0.0-p195: Permission denied 

Searching for binary rubies, this might take some time. 
No binary rubies available for: osx/10.7/x86_64/ruby-2.0.0-p195. 
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. 
Installing requirements for osx, might require sudo password. 
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date. 
Installing Ruby from source to: /Users/xudannie/.rvm/rubies/ruby-2.0.0-p195, this may take a while depending on your cpu(s)... 
ruby-2.0.0-p195 - #downloading ruby-2.0.0-p195, this may take a while depending on your connection... 

mkdir: /Users/xudannie/.rvm/tmp/rvm_src_32045: Permission denied 
mkdir: /Users/xudannie/.rvm/log/ruby-2.0.0-p195: Permission denied 
tee: /Users/xudannie/.rvm/log/ruby-2.0.0-p195/1370079408_extract.log: No such file or directory 
tee: /Users/xudannie/.rvm/log/ruby-2.0.0-p195/1370079408_extract.log: No such file or directory 
ruby-2.0.0-p195 - #extracting ruby-2.0.0-p195 to /Users/xudannie/.rvm/src/ruby-2.0.0-p195.... 

Error running '__rvm_package_extract /Users/xudannie/.rvm/archives/ruby-2.0.0-p195.tar.bz2 /Users/xudannie/.rvm/tmp/rvm_src_32045', 
please read /Users/xudannie/.rvm/log/ruby-2.0.0-p195/1370079408_extract.log 
There has been an error while trying to extract the source. Halting the installation. 
There has been an error fetching the ruby interpreter. Halting the installation. 

मैं सिर्फ ROR सीखने के लिए शुरू कर रहा हूँ, इसलिए बहुत ज्यादा समस्या है मैं सामना करने की जरूरत है।

आपकी मदद की उम्मीद है!

उत्तर

4

sudo rvm install 2.0.0 चलाने का प्रयास करें और यदि यह काम नहीं करता है तो बस sudo chmod a+rw -R ~/.rvm और फिर rvm install 2.0.0 चलाएं।

+3

'sudo chmod आर एक + आरडब्ल्यू ~/.rvm' – TuK

+0

यह सब करता है असुरक्षित फाइल अनुमति बारे में एक चेतावनी जोड़ने है ... – jchook

संबंधित मुद्दे