unable to resolve setup problem to get sample blog application to run - certificate errors

I’m getting certificate errors on the https:\rubygems.org web site using 2.1.5 Rails install environment objects:

Auto Generated Inline Image 1.png

Any ideas? This is Windows 7 VM machine installation.

Thanks

Dave

  1. Try pingin google:

$ ping www.google.com

  1. 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
  1. Try replacing https from Gemfile:

source ‘http://rubygems.org

  1. Best of luck

Auto Generated Inline Image 1.png

I'm getting certificate errors on the https:\\rubygems.org web site using 2.1.5 Rails install environment objects:

Any ideas? This is Windows 7 VM machine installation.

Switch to Ubuntu?

Apart from that please don't post images, copy/paste the text here instead. I had to re-type the error message in order to google it for you. This showed up several potential like hits including

and https://www.google.com/search?client=ubuntu&channel=fs&q=gem%3A%3Aremotefetcher%3A%3Afetcherror+ssl_connect+returned%3D1+certificate+verify&ie=utf-8&oe=utf-8&gl=uk

I am assuming, since you did not say, that you have not seen those.

Colin

Auto Generated Inline Image 1.png

I'm getting certificate errors on the https:\\rubygems.org web site using 2.1.5 Rails install environment objects:

Windows builds of ruby often have these certificate problems (I'm not sure why this occurs). The railsgirls install guide has some steps to fix this that have worked for me in the past:

http://guides.railsgirls.com/install/#setup-for-windows

Fred

Hello Dave,

Try following the steps below to resolve the issue. Let me know if this works for you.

Try performing the Install using update packages

Now that RubyGems 1.8.x, 2.0.x and 2.2.x have been released, you can manually update to those versions.

First, download the proper version of RubyGems for your installation (eg. if running version 1.8.28, download 1.8.30).

Note: To find the version of RubyGems you’re using, please run gem --version in the command line.

You can find download links at GitHub under Releases.

Now, locate rubygems-update-X.Y.Z.gem where X.Y.Z will be the matching version for the version of RubyGems you need to update:

  • Running 1.8.x: download 1.8.30
  • Running 2.0.x: donwload 2.0.15
  • Running 2.2.x: download 2.2.3 Download the file in a directory that you can later point to (eg. the root of your harddrive C:\)

Now, using your Command Prompt:

C:>gem install --local C:\rubygems-update-1.8.30.gem C:>update_rubygems --no-ri --no-rdoc


After this, gem --version should report the new update version.

You can now salefy uninstall rubygems-update gem:

C:>gem uninstall rubygems-update -x Removing update_rubygems Successfully uninstalled rubygems-update-2.2.3


Cheers!