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

22 views
Skip to first unread message

Dave Dolson

unread,
Sep 5, 2015, 12:53:29 AM9/5/15
to Ruby on Rails: Talk
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

Auto Generated Inline Image 1

Sadaf Noor

unread,
Sep 5, 2015, 2:50:25 AM9/5/15
to rubyonra...@googlegroups.com
0. Try pingin google:

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

2. Try replacing https from Gemfile:


3. Best of luck


Dave

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/662ccb31-66d7-4ab4-84d7-ff0fa36a5ae2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
 Md. Sadaf Noor (@sadaf2605)
 www.sadafnoor.com

Colin Law

unread,
Sep 5, 2015, 3:12:41 AM9/5/15
to Ruby on Rails: Talk
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
I am assuming, since you did not say, that you have not seen those.

Colin


Frederick Cheung

unread,
Sep 5, 2015, 4:50:03 AM9/5/15
to Ruby on Rails: Talk
On Saturday, September 5, 2015 at 5:53:29 AM UTC+1, Dave Dolson 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

Neal Alexandrov

unread,
Sep 5, 2015, 8:54:08 AM9/5/15
to Ruby on Rails: Talk
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!
Reply all
Reply to author
Forward
0 new messages