1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Fixes problem with latest RubyGems - can't convert Pathname to String

This commit is contained in:
Felipe Coury 2011-04-07 22:36:17 -04:00 committed by John Nunemaker
parent 00a7ec9ce5
commit 1f82664e65

View file

@ -5,7 +5,7 @@ require 'uri'
require 'zlib'
require 'crack'
dir = Pathname(__FILE__).dirname.expand_path
dir = Pathname(__FILE__).dirname.expand_path.to_s
require dir + 'httparty/module_inheritable_attributes'
require dir + 'httparty/cookie_hash'