From b839376a507e37a048ea2df53127ed0884310f60 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 24 Nov 2014 22:45:27 -0800 Subject: moved core_ext and lib_ext under leap_cli --- lib/leap_cli/override/json.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/leap_cli/override/json.rb (limited to 'lib/leap_cli/override') diff --git a/lib/leap_cli/override/json.rb b/lib/leap_cli/override/json.rb new file mode 100644 index 0000000..a7ae328 --- /dev/null +++ b/lib/leap_cli/override/json.rb @@ -0,0 +1,11 @@ +# +# This exists solely to prevent other gems we depend on from +# importing json/ext (e.g. require 'json'). +# +# If json/ext is imported, json/pure cannot work, and we heavily +# rely on the specific behavior of json/pure. +# +# This trick only works if this directory is early in the +# include path. +# +require 'json/pure' \ No newline at end of file -- cgit v1.2.3