We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdf4f5f commit d85097dCopy full SHA for d85097d
lib/resque/helpers.rb
@@ -1,5 +1,11 @@
1
require 'multi_json'
2
3
+# OkJson won't work because it doesn't serialize symbols
4
+# in the same way yajl and json do.
5
+if MultiJson.engine.to_s == 'MultiJson::Engines::OkJson'
6
+ raise "Please install the yajl-ruby or json gem"
7
+end
8
+
9
module Resque
10
# Methods used by various classes in Resque.
11
module Helpers
0 commit comments