Reputation: 1077
Im trying to install rails on ubuntu. Current version of ruby is 2.2.2 but its returning and error
omer@AK47:~$ gem install rails
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) Errno::EHOSTUNREACH: No route to host - connect(2) for "rubygems.global.ssl.fastly.net" port 443 (https://rubygems.org/quick/Marshal.4.8/rails-4.2.1.gemspec.rz)
Upvotes: 0
Views: 130
Reputation: 202
Well, maybe your certificates are out of date? Try to fix them by sudo update-ca-certificates
Upvotes: 1