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.
23 lines
501 B
Ruby
23 lines
501 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 'config'
|
|
require 'active_model'
|
|
require 'active_model/test_case'
|
|
|
|
# Show backtraces for deprecated behavior for quicker cleanup.
|
|
ActiveSupport::Deprecation.debug = true
|
|
|
|
require 'rubygems'
|
|
require 'test/unit'
|
|
|
|
begin
|
|
require 'ruby-debug'
|
|
Debugger.start
|
|
rescue LoadError
|
|
end
|