Browse files

bugfix: requiring just json will load the C ext version if it can, th…

…en fall back to json/pure if it can. If you've already loaded json in your project, explicitly requiring json/pure messes everything up
  • Loading branch information...
1 parent 52c9cfc commit cb39ecd23dd770d700216e24ba56d33f400e313c @will will committed with May 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/chargify.rb
@@ -1,6 +1,6 @@
require 'hashie'
require 'httparty'
-require 'json/pure'
+require 'json'
directory = File.expand_path(File.dirname(__FILE__))

0 comments on commit cb39ecd

Please sign in to comment.