我試圖在我的Mac上安裝Bundler gem。用命令: sudo gem install bundler
我得到以下錯誤:安裝Bundler時出錯
ERROR: Could not find a valid gem 'bundler' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz)
這顯然似乎是一個服務器的問題,但我要如何去解決呢? gem update --system
當前是最新的。有沒有其他方法可以獲得Bundler?
很多關於此tpoic的討論在這裏:http://stackoverflow.com/q/10246023/385532 - 其他一些答案可能會幫助你。 HTTPS失敗在rubygems中很常見:/ – Matt
如果你想設置一個完整的rails開發環境,最好使用[本指南](http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#sec -up_and_running)。這樣你就不需要明確地安裝bundler(它會被安裝爲依賴)。 –
我在travis上有這個問題 –