title: How to use SOCKSify proxy
body: <p>I try to proxy traffic of a ruby application over a SOCKS proxy using ruby 2.0 and SOCKSify 1.5.0.</p>
  
  <pre><code>require 'socksify/http'
  
  uri  = URI.parse("www.example.org")
  proxy_addr = "127.0.0.1"
  proxy_port = 14000
  
  puts Net::HTTP.SOCKSProxy(proxy_addr, proxy_port).get(uri)
  </code></pre>
  
  <p>This is the minimal working example. Obviously it doesn't work but I think it should. I receive no error messages executing the file, it doesn't stop so I have to abort it manually. I have tried the solution after I found it in <a href="https://stackoverflow.com/a/13882749/586014">this answer</a> (the code in that answer is different, but as mentioned above I first adapted it to my match my existing non-proxy-code and afterwards reduced it)</p>
  
  <p>The proxies work, I tested both <em>tor</em> and <code>ssh -D</code> connection on my own webserver and other websites.</p>
  
  <p>As rubyforge seems to be no longer existing, I can't access the <a href="http://socksify.rubyforge.org/" rel="nofollow noreferrer">SOCKSify documentation on it</a>. I think the version might be outdated, does not work with ruby 2.0 or something like that.  </p>
  
  <p>What am I doing wrong here? Or is there an alternative to SOCKSify?</p>