
#
# testing ruote
#
# since Mon Oct  9 22:19:44 JST 2006
#

require File.join(File.dirname(__FILE__), 'path_helper')

require 'test/unit'
require 'rubygems'


def require_json

  return if $json_lib_loaded

  begin
    require 'yajl'
    require 'yajl/version'
    puts "using yajl #{Yajl::VERSION}"
  rescue LoadError
    require 'json'
    puts "using json #{JSON::VERSION}"
  end
  $json_lib_loaded = true
end

