Re: [問題] gem install rails
小弟是用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
→
04/07 22:52, , 1F
04/07 22:52, 1F
推
04/16 04:57, , 2F
04/16 04:57, 2F
討論串 (同標題文章)
完整討論串 (本文為第 3 之 3 篇):
Ruby 近期熱門文章
PTT數位生活區 即時熱門文章