Skip to content

Instantly share code, notes, and snippets.

@mperham
Created March 2, 2009 18:54
Embed
What would you like to do?
require 'rubygems'
gem 'rails', '2.2.2'
gem 'json', '1.1.3' # or json_pure, both break
# Switch these requires and it works
require 'json'
require 'activesupport'
data = { :a => [1,2,3] }
puts data.to_json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment