$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'multi_json'
require 'spec'
require 'spec/autorun'
require 'rubygems'
require 'bundler'
Bundler.setup

Spec::Runner.configure do |config|
  
end

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'multi_json'
require 'spec'
require 'spec/autorun'
require 'rubygems'
begin
  require 'bundler'
  Bundler.setup
rescue LoadError
  $stderr.puts "Bundler (or a dependency) not available."
end

Spec::Runner.configure do |config|
  
end

Allow running the specs even if the Bundler gem is not installed.
Allow running the specs even if the Bundler gem is not installed.

Since the gem may well be used without Bundler at all, don't force its
presence during the spec running.
