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:

Any ideas? This is Windows 7 VM machine installation.

Thanks
Dave

  1. Try pingin 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:[email protected]_proxy:your_port
set https_proxy=https://your_proxy:your_port
set https_proxy=https://username:[email protected]_proxy:your_port

  1. Try replacing https from Gemfile:

source ‘http://rubygems.org

  1. Best of luck

2015-09-05 4:46 GMT+06:00 Dave D. [email protected]:

“Ruby on Rails: Talk” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected]
To post to this group, send email to [email protected]
To view this discussion on the web visit

https://groups.google.com/d/msgid/rubyonrails-talk/662ccb31-66d7-4ab4-84d7-ff0fa36a5ae2%40googlegroups.com

https://groups.google.com/d/msgid/rubyonrails-talk/662ccb31-66d7-4ab4-84d7-ff0fa36a5ae2%40googlegroups.com?utm_medium=email&utm_source=footer

.
For more options, visit https://groups.google.com/d/optout.


Md. Sadaf N. (@sadaf2605 https://twitter.com/sadaf2605)
www.sadafnoor.com

On 4 September 2015 at 23:46, Dave D. [email protected] wrote:

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
http://stackoverflow.com/questions/19150017/ssl-error-when-installing-rubygems-unable-to-pull-data-from-https-rubygems-o
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

On Saturday, September 5, 2015 at 5:53:29 AM UTC+1, Dave D. wrote:

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
https://github.com/rubygems/rubygems/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:

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!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs