mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
7ee5843c3c
adding any to the load path more than once.
25 lines
587 B
Ruby
25 lines
587 B
Ruby
begin
|
|
require File.expand_path('../../../vendor/gems/environment', __FILE__)
|
|
rescue LoadError
|
|
end
|
|
|
|
lib = File.expand_path('../../lib', __FILE__)
|
|
$:.unshift(lib) unless $:.include?('lib') || $:.include?(lib)
|
|
|
|
require 'rubygems'
|
|
require 'test/unit'
|
|
require 'active_resource'
|
|
require 'active_support'
|
|
require 'active_support/test_case'
|
|
require 'active_model/test_case'
|
|
|
|
$:.unshift "#{File.dirname(__FILE__)}/../test"
|
|
require 'setter_trap'
|
|
|
|
require 'logger'
|
|
ActiveResource::Base.logger = Logger.new("#{File.dirname(__FILE__)}/debug.log")
|
|
|
|
begin
|
|
require 'ruby-debug'
|
|
rescue LoadError
|
|
end
|