看板 Ruby 關於我們 聯絡資訊
小弟是用mac OSX10.9.5,用rbenv裝了ruby2.2.0,rails版本目前是4.0.3,想要升級 到rails4.2,但在用gem安裝時遇到了以下問題,可以請教如何解決嘛?謝謝 $ gem install rails --version=4.2 ERROR: Loading command: install (LoadError) dlopen(/Users/jojotenya/.rbenv/versions/2.2.0-dev/lib/ruby/2.2.0/x86_64-darwin13.0/openssl.bundle, 9): Symbol not found: _SSLv2_client_method Referenced from: /Users/jojotenya/.rbenv/versions/2.2.0-dev/lib/ruby/2.2.0/x86_64-darwin13.0/openssl.bundle Expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib in /Users/jojotenya/.rbenv/versions/2.2.0-dev/lib/ruby/2.2.0/x86_64-darwin13.0/openssl.bundle - /Users/jojotenya/.rbenv/versions/2.2.0-dev/lib/ruby/2.2.0/x86_64-darwin13.0/openssl.bundle ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.115.236.39 ※ 文章網址: https://www.ptt.cc/bbs/Ruby/M.1428408963.A.4CF.html
oldjojotenya: 已解決,謝謝! 04/07 22:52
david50407: 因為 openssl 漏洞補起來了,重編ruby 04/16 04:57