Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add json explicitly to compiler.rb

  • Loading branch information...
commit 1def4d017e54130423be2ea00c7799560b28b816 1 parent d14cb1f
@dewski dewski authored
View
2  Gemfile.lock
@@ -3,6 +3,7 @@ PATH
specs:
json_builder (3.1.5)
activesupport (>= 2.0.0)
+ json
GEM
remote: http://rubygems.org/
@@ -11,6 +12,7 @@ GEM
i18n (~> 0.6)
multi_json (~> 1.0)
i18n (0.6.0)
+ json (1.7.3)
multi_json (1.3.5)
rake (0.9.2.2)
tzinfo (0.3.31)
View
1  json_builder.gemspec
@@ -16,5 +16,6 @@ Gem::Specification.new do |s|
s.require_paths = ['lib']
s.add_dependency 'activesupport', '>= 2.0.0'
+ s.add_dependency 'json'
s.add_development_dependency 'tzinfo'
end
View
1  lib/json_builder/compiler.rb
@@ -1,3 +1,4 @@
+require 'json'
require 'json_builder/member'
module JSONBuilder
Please sign in to comment.
Something went wrong with that request. Please try again.