Skip to content

Instantly share code, notes, and snippets.



Created May 5, 2011
What would you like to do?
# irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):003:0* require 'ruote'
=> true
irb(main):004:0> require 'ruote/storage/fs_storage'
=> true
irb(main):005:0> require 'ruote-amqp'
=> true
irb(main):006:0> require 'yajl/json_gem'
=> true
irb(main):007:0> require 'rufus/json'
=> false
irb(main):008:0> Rufus::Json.has_backend?
=> false
irb(main):009:0> Rufus::Json.detect_backend
=> [#<Proc:0xf7247f64@/usr/lib/ruby/vendor_ruby/rufus/json.rb:59>, #<Proc:0xf7247e60@/usr/lib/ruby/vendor_ruby/rufus/json.rb:60>, #<Proc:0xf7247dc0@/usr/lib/ruby/vendor_ruby/rufus/json.rb:61>]
irb(main):010:0> Rufus::Json.has_backend?
=> true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.