Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Missing HTTPS and URI require #50

wants to merge 6 commits into from

4 participants


There's already a pull request for the net/https require. Think the uri require is necessary in some cases as well for URI.parse to work correctly when using ssl. I was getting an EOFError (end of file error) until I added the net/https and uri requires.

nfm commented

Hi @cctalbott, as of version 1.0.2, private_pub does require 'net/https'.

In addition, Net::HTTP itself will require 'uri', so requiring it explicitly in lib/private_pub.rb is unnecessary.


@ryanb ryanb closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 27, 2012
  1. @cctalbott

    Debugging EOFError I keep getting with publish_to when using SSL.

    cctalbott authored
    added net/https require to lib/private_pub.rb and shortened faye
    timeout to 25 from 45.
    added *~ to .gitignore for linux.
Commits on Mar 28, 2012
  1. @cctalbott
  2. @cctalbott
  3. @cctalbott
Commits on Mar 29, 2012
  1. @cctalbott
Commits on Apr 30, 2012
  1. @cctalbott
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +2 −0  lib/private_pub.rb
1  .gitignore
@@ -3,3 +3,4 @@
2  lib/private_pub.rb
@@ -1,5 +1,7 @@
require "digest/sha1"
require "net/http"
+require "net/https"
+require 'uri'
require "private_pub/faye_extension"
require "private_pub/engine" if defined? Rails
Something went wrong with that request. Please try again.