gpt4 book ai didi

ruby - rvm install 2.1.4 <--- 在 Mac OS X mavericks 上失败

转载 作者:数据小太阳 更新时间:2023-10-29 08:03:57 32 4
gpt4 key购买 nike

尝试在 Mac OS X Mavericks 上使用最新的 rvm 安装 ruby​​ 2.1.4...

rvm 无法安装 ruby​​ 2.1.4

关于空默认 gemset 的神秘错误消息 ??

尝试安装两次。

几天前我能够安装ruby 2.1.3,一切正常

感谢帮助


helabed@hani-elabeds-MacBook-Pro:~/rails-proj $ rvm info

ruby-2.1.3@rspec-2:

system:
uname: "Darwin hani-elabeds-MacBook-Pro.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64"
system: "osx/10.9/x86_64"
bash: "/bin/bash => GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)"
zsh: "/bin/zsh => zsh 5.0.2 (x86_64-apple-darwin13.0)"

rvm:
version: "rvm 1.26.0 (latest) by Wayne E. Seguin , Michal Papis [https://rvm.io/]"
updated: "21 minutes 6 seconds ago"
path: "/Users/helabed/.rvm"

ruby:
interpreter: "ruby"
version: "2.1.3p242"
date: "2014-09-19"
platform: "x86_64-darwin14.0"
patchlevel: "2014-09-19 revision 47630"
full_version: "ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0]"

homes:
gem: "/Users/helabed/.rvm/gems/ruby-2.1.3@rspec-2"
ruby: "/Users/helabed/.rvm/rubies/ruby-2.1.3"

binaries:
ruby: "/Users/helabed/.rvm/rubies/ruby-2.1.3/bin/ruby"
irb: "/Users/helabed/.rvm/rubies/ruby-2.1.3/bin/irb"
gem: "/Users/helabed/.rvm/rubies/ruby-2.1.3/bin/gem"
rake: "/Users/helabed/.rvm/rubies/ruby-2.1.3/bin/rake"

environment:
PATH: "/Users/helabed/.rvm/gems/ruby-2.1.3@rspec-2/bin:/Users/helabed/.rvm/gems/ruby-2.1.3@global/bin:/Users/helabed/.rvm/rubies/ruby-2.1.3/bin:/Users/helabed/.rvm/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/helabed/bin:/usr/local/mysql/bin:/Users/helabed/Android/adt-bundle-mac-x86_64-20140321/sdk/platform-tools:/Users/helabed/Android/adt-bundle-mac-x86_64-20140321/sdk/tools/"
GEM_HOME: "/Users/helabed/.rvm/gems/ruby-2.1.3@rspec-2"
GEM_PATH: "/Users/helabed/.rvm/gems/ruby-2.1.3@rspec-2:/Users/helabed/.rvm/gems/ruby-2.1.3@global"
MY_RUBY_HOME: "/Users/helabed/.rvm/rubies/ruby-2.1.3"
IRBRC: "/Users/helabed/.rvm/rubies/ruby-2.1.3/.irbrc"
RUBYOPT: ""
gemset: "rspec-2"


helabed@hani-elabeds-MacBook-Pro:~/rails-proj $ gem list

*** LOCAL GEMS ***

bigdecimal (1.2.4)
bundler (1.7.4)
bundler-unload (1.0.2)
diff-lcs (1.2.5)
executable-hooks (1.3.2)
gem-wrappers (1.2.7)
io-console (0.4.2)
json (1.8.1)
minitest (4.7.5)
psych (2.0.5)
rake (10.1.0)
rdoc (4.1.0)
rspec (2.13.0)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
rspec-mocks (2.13.1)
rubygems-bundler (1.4.4)
rvm (1.11.3.9)
test-unit (2.1.3.0)
helabed@hani-elabeds-MacBook-Pro:~/rails-proj $ rvm reinstall 2.1.4
ruby-2.1.4 - #removing rubies/ruby-2.1.4..
Searching for binary rubies, this might take some time.
Found remote file https://rubies.travis-ci.org/osx/10.9/x86_64/ruby-2.1.4.tar.bz2
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
ruby-2.1.4 - #configure
ruby-2.1.4 - #download
ruby-2.1.4 - #validate archive
ruby-2.1.4 - #extract
ruby-2.1.4 - #validate binary
ruby-2.1.4 - #setup
ruby-2.1.4 - #gemset created /Users/helabed/.rvm/gems/ruby-2.1.4@global
ruby-2.1.4 - #importing gemset /Users/helabed/.rvm/gemsets/global.gems........................................................................
ruby-2.1.4 - #generating global wrappers..............
ruby-2.1.4 - #gemset created /Users/helabed/.rvm/gems/ruby-2.1.4
ruby-2.1.4 - #importing gemsetfile /Users/helabed/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.1.4 - #generating default wrappers..............
/Users/helabed/.rvm/scripts/functions/support: line 490: 17899 Trace/BPT trap: 5 "$ruby_path" -rrbconfig -e '\
File.open("'"$config_path"'","w") { |file|
RbConfig::CONFIG.sort.each{|key,value|
file.write("#{key.gsub(/\.|-/,"_")}=\"#{value.gsub("$","\\$")}\"\n")
}
}
' > /dev/null 2>&1
Empty path passed to certificates update, functions stack: requirements_osx_update_openssl_cert_run rvm_requiremnts_fail_or_run_action __rvm_osx_ssl_certs_ensure_for_ruby __rvm_osx_ssl_certs_ensure_for_ruby_except_jruby external_import_setup external_import main
Making gemset ruby-2.1.4 pristine................................................................
Making gemset ruby-2.1.4@global pristine.................................................................
helabed@hani-elabeds-MacBook-Pro:~/rails-proj $

最佳答案

我在 2.1.4 中遇到了类似的问题,

rvm reinstall 2.1.4 --disable-binary
为我工作。感谢@csage 的指点。

这里有类似的问题

Error when installing Ruby 2.1.3 with RVM

关于ruby - rvm install 2.1.4 <--- 在 Mac OS X mavericks 上失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26658625/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com