1) Try pinging google:$ ping www.google.com
2) If you need to set proxy then you can use following commands
set http_proxy=http://your_proxy:your_port set http_proxy=http://username:password@your_proxy:your_port
set https_proxy=https://your_proxy:your_port set https_proxy=https://username:password@your_proxy:your_port
3) Try replacing https from Gemfile:
source http://rubygems.org