2

I am attempting to install rails however getting the following error:

vagrant@precise32:~$ gem install rails
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    Errno::ETIMEDOUT: Connection timed out - connect(2) for "api.rubygems.org" port 443 (https://api.rubygems.org/api/v1/dependencies?gems=rack-test)

Machine: Ubuntu Precise 32x running in Vagrant

I tried this with sudo and infact get a different error:

vagrant@precise32:~$ sudo gem install rails
ERROR:  While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
    no such name (https://api.rubygems.org/api/v1/dependencies?gems=bundler)
Jacob Clark
  • 3,317
  • 5
  • 32
  • 61

0 Answers0