summaryrefslogtreecommitdiff
path: root/lib/override/json.rb
blob: a7ae32875297f16e4062bfab3dabaaca1857123b (plain)
1
2
3
4
5
6
7
8
9
10
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'