Skip to content

Commit

Permalink
Fixes problem with latest RubyGems - can't convert Pathname to String
Browse files Browse the repository at this point in the history
  • Loading branch information
fcoury authored and jnunemaker committed Apr 15, 2011
1 parent 00a7ec9 commit 1f82664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/httparty.rb
Expand Up @@ -5,7 +5,7 @@
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'
Expand Down

0 comments on commit 1f82664

Please sign in to comment.