Omer Raja
Omer Raja

Reputation: 1077

Can not install rails on Ubuntu 14.0.4. Gem install rails error

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

Answers (1)

Radek
Radek

Reputation: 202

Well, maybe your certificates are out of date? Try to fix them by sudo update-ca-certificates

Upvotes: 1

Related Questions