Permalink
Browse files

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

  • Loading branch information...
1 parent 00a7ec9 commit 1f82664e65aaae0d2e81cc03ee4f2d873a541209 @fcoury fcoury committed with Apr 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/httparty.rb
View
@@ -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'

0 comments on commit 1f82664

Please sign in to comment.