清理,rvm 内爆,安装了新的 rvm,--ruby
所以我安装了 2.0.0。
尝试rvm install ruby-1.9.3 --autolibs=4
时,安装会在 src 正在被提取的消息之后立即挂起。1.9.3、ruby-1.9.3-p392 和 1.9.2 也会发生这种情况。我得到了几个点,然后没有进一步的反应。有什么建议么?
在 1.9.2 尝试中使用 --debug 的结果。
$ rvm --debug install ruby-1.9.2 --autolibs=4
ruby-1.9.2 - install
Searching for binary rubies, this might take some time.
Remote file does not exist https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.9.2-p320.tar.bz2
Remote file does not exist http://jruby.org.s3.amazonaws.com/downloads/ruby-1.9.2-p320.tar.bz2
Remote file does not exist http://binaries.rubini.us/osx/10.7/x86_64/ruby-1.9.2-p320.tar.bz2
rvm_remote_server_url3 not found
No remote file name found
No binary rubies available for: osx/10.7/x86_64/ruby-1.9.2-p320.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
__rvm_setup_compile_environment_setup ruby-1.9.2-p320
rvm_autolibs_flag=4
__rvm_setup_compile_environment_requirements ruby-1.9.2-p320
Installing requirements for osx, might require sudo password.
requirements code for osx loaded
requirements code for osx_brew loaded
brew seems to be writable
Already up-to-date.
Found required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libxml2, libxslt, libksba, openssl, sqlite.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/libyaml )
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/readline/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/readline/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libxml2/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libxml2/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libxslt/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libxslt/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libksba/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libksba/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/openssl/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/openssl/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/sqlite/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/sqlite/lib:
__rvm_setup_compile_environment_osx_compiler ruby-1.9.2-p320
__rvm_setup_compile_environment_architectures ruby-1.9.2-p320
__rvm_setup_compile_environment_gcc47plus ruby-1.9.2-p320
__rvm_setup_compile_environment_bison ruby-1.9.2-p320
__rvm_setup_compile_environment_smartos ruby-1.9.2-p320
__rvm_setup_compile_environment_sunos ruby-1.9.2-p320
__rvm_setup_compile_environment_openbsd ruby-1.9.2-p320
__rvm_setup_compile_environment_auto_conf_make ruby-1.9.2-p320
__rvm_setup_compile_environment_flags_docs ruby-1.9.2-p320
__rvm_setup_compile_environment_flags_tcltk ruby-1.9.2-p320
__rvm_setup_compile_environment_flags_shared_static ruby-1.9.2-p320
__rvm_setup_compile_environment_flags_threads ruby-1.9.2-p320
found compiler: gcc-4.2
Installing Ruby from source to: /Users/jfnixon/.rvm/rubies/ruby-1.9.2-p320, this may take a while depending on your cpu(s)...
ruby-1.9.2-p320 - #downloading ruby-1.9.2-p320, this may take a while depending on your connection...
No archive, downloading
Running(11): curl --fail --location --max-redirs 10 --create-dirs -C - -o ruby-1.9.2-p320.tar.bz2 http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p320.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8770k 100 8770k 0 0 177k 0 0:00:49 0:00:49 --:--:-- 123k
Downloaded archive checksum matched.
Log file: /Users/jfnixon/.rvm/log/ruby-1.9.2-p320/1366859728_extract.log
ls: /Users/jfnixon/.rvm/log/ruby-1.9.2-p320/1366859728_extract.log: No such file or directory
remove[ny]? y
[2013-04-24 23:15:34] __rvm_package_extract
__rvm_package_extract ()
{
rvm_debug __rvm_package_extract:$#: "$@";
typeset __tempdir __path __file __return;
__return=0;
__tempdir="$( TMPDIR="${rvm_tmp_path}" mktemp -d -t rvm-tmp.XXXXXXXXX )";
__rvm_package_extract_run "$1" "$__tempdir" || __return=$?;
if (( __return == 0 )); then
for __path in "$__tempdir"/*;
do
__file="${__path##*/}";
if [[ -n "${__file}" && -e "$2/${__file}" ]]; then
\rm -rf "$2/${__file}" || __return=$?;
fi;
\mv -f "${__path}" "$2/" || __return=$?;
done;
fi;
if [[ -n "$__tempdir" ]]; then
\rm -rf "$__tempdir";
fi;
return $__return
}
current path: /Users/jfnixon/.rvm/src
command(3): __rvm_package_extract /Users/jfnixon/.rvm/archives/ruby-1.9.2-p320.tar.bz2 /Users/jfnixon/.rvm/tmp/rvm_src_71265
ruby-1.9.2-p320 - #extracting ruby-1.9.2-p320 to /Users/jfnixon/.rvm/src/ruby-1.9.2-p320..^C
__rvm_rm_rf already gone: /Users/jfnixon/.rvm/tmp/71265*