1
當我執行「RVM安裝2.1.5」
,它給我的錯誤RVM「RVM安裝Ruby」無法安裝紅寶石,安裝在/ usr /本地
Error running '__rvm_package_extract /usr/local/rvm/archives/ruby-2.1.5.tar.bz2 /usr/local/rvm/tmp/rvm_src_7085'
幫我解決這個問題,謝謝
在這裏,我增加了一些更多的錯誤,同時安裝Ruby
mkdir: /usr/local/rvm/tmp/rvm_src_7085: Permission denied
ruby-2.1.5 - #extracting ruby-2.1.5 to /usr/local/rvm/src/ruby-2.1.5....
Error running '__rvm_package_extract /usr/local/rvm/archives/ruby-2.1.5.tar.bz2 /usr/local/rvm/tmp/rvm_src_7085',
showing last 15 lines of /usr/local/rvm/log/1418271602_ruby-2.1.5/extract.log
++ [[ -d '' ]]
++ mkdir -p ''
mkdir: : No such file or directory
++ case "$1" in
++ [[ -n '' ]]
++ __rvm_tar xjf /usr/local/rvm/archives/ruby-2.1.5.tar.bz2 -C ''
++ tar xjf /usr/local/rvm/archives/ruby-2.1.5.tar.bz2 -C ''
tar: could not chdir to ''
++ return 1
++ return 1
++ __return=1
++ (( __return == 0 ))
++ [[ -n '' ]]
++ return 1
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.
後向上漸變到Mac OS X約塞米蒂它給人的錯誤,在小牛隊的正常工作
RVM信息提供了以下
ruby-2.1.3:
system:
uname: "Darwin D007.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64"
system: "osx/10.10/x86_64"
bash: "/bin/bash => GNU bash, version 3.2.53(1)-release (x86_64-apple-darwin14)"
zsh: "/bin/zsh => zsh 5.0.5 (x86_64-apple-darwin14.0)"
rvm:
version: "rvm 1.26.4 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]"
updated: "31 minutes 59 seconds ago"
path: "/usr/local/rvm"
ruby:
interpreter: "ruby"
version: "2.1.3p242"
date: "2014-09-19"
platform: "x86_64-darwin13.0"
patchlevel: "2014-09-19 revision 47630"
full_version: "ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin13.0]"
homes:
gem: "/usr/local/rvm/gems/ruby-2.1.3"
ruby: "/usr/local/rvm/rubies/ruby-2.1.3"
binaries:
ruby: "/usr/local/rvm/rubies/ruby-2.1.3/bin/ruby"
irb: "/usr/local/rvm/rubies/ruby-2.1.3/bin/irb"
gem: "/usr/local/rvm/rubies/ruby-2.1.3/bin/gem"
rake: "/usr/local/rvm/gems/ruby-2.1.3/bin/rake"
environment:
PATH: "/usr/local/rvm/gems/ruby-2.1.3/bin:/usr/local/rvm/gems/[email protected]/bin:/usr/local/rvm/rubies/ruby-2.1.3/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/rvm/bin:/Users/prakash/.rvm/bin"
GEM_HOME: "/usr/local/rvm/gems/ruby-2.1.3"
GEM_PATH: "/usr/local/rvm/gems/ruby-2.1.3:/usr/local/rvm/gems/[email protected]"
MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-2.1.3"
IRBRC: "/usr/local/rvm/rubies/ruby-2.1.3/.irbrc"
RUBYOPT: ""
gemset: ""
什麼操作系統,平臺等?發佈「朗姆酒信息」的輸出。 – Beartech 2014-12-11 05:21:57
MacOS X-Yosimite, – Zero 2014-12-11 05:44:52
@prakashS我剛剛看到您的上述評論。對不起,我從來沒有在MacOS上工作,所以我已經刪除了我的答案,因爲它是根據Linux系統。 – shivam 2014-12-11 05:48:32