Skip to content

Instantly share code, notes, and snippets.

@gmarik
Created June 8, 2011 05:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmarik/1013813 to your computer and use it in GitHub Desktop.
Save gmarik/1013813 to your computer and use it in GitHub Desktop.
results
whose-bug$ bundle exec ruby test.rb
{
}
require 'hashie'
require 'json'
# If this works, the problem is solved.
# If it raises NoMethodError: undefined method `merge' then you've hit the bug
puts JSON.pretty_generate Hashie::Mash.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment