[英]Connection Timed out in Installing rails
我正在使用Ubuntu 14.04 LTS和ruby版本是:1.9.3p484
運行命令時
sudo gem安裝導軌-v 3.2.18,
我收到此錯誤
WARNING: Error fetching data: Errno::ETIMEDOUT: Connection timed out - connect(2) (http://rubygems.org/specs.4.8.gz)
WARNING: Error fetching data: Errno::ETIMEDOUT: Connection timed out - connect(2) (http://rubygems.org/latest_specs.4.8.gz)
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ETIMEDOUT: Connection timed out - connect(2) (http://rubygems.org/gems/activesupport-3.2.18.gem)
現在當我檢查
rvm requirements
我收到錯誤消息: 細分錯誤(核心已轉儲)
所有這些錯誤似乎都來自不推薦使用的HTTP連接嘗試。 在您的Gemfile
,第一行可能是
source :rubygems
您可以嘗試將其更改為
source 'https://rubygems.org'
出現分段故障核心轉儲錯誤,這是內存使用問題,這不是Rails問題。 因此需要格式化系統。 分段錯誤(核心轉儲):這是程序嘗試使用已填充的相同空間或嘗試使用不存在的空間時出現的錯誤。
謝謝
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.