Installing rails and bundler


Hi guys,
i’m completely stuck in this step and i don know how to solve this problem:

tiago@tiago-SVE1512Y1ESI:~$ gem install rails
ERROR: Could not find a valid gem ‘rails’ (>= 0), here is why:
Unable to download data from - Errno::ECONNRESET: Connection reset by peer - SSL_connect (

Someone there that had this problem in the past?
Thanks for help
Best Regards


Sounds like you have a firewall or something blocking the request.