mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
correct activeresource load path
This commit is contained in:
parent
5cc17da894
commit
30446f7b29
1 changed files with 3 additions and 1 deletions
|
@ -1,12 +1,14 @@
|
|||
require File.expand_path('../../../load_paths', __FILE__)
|
||||
|
||||
lib = File.expand_path("#{File.dirname(__FILE__)}/../lib")
|
||||
$:.unshift(lib) unless $:.include?('lib') || $:.include?(lib)
|
||||
|
||||
require 'rubygems'
|
||||
require 'test/unit'
|
||||
require 'active_resource'
|
||||
require 'active_support'
|
||||
require 'active_support/test_case'
|
||||
|
||||
$:.unshift "#{File.dirname(__FILE__)}/../test"
|
||||
require 'setter_trap'
|
||||
|
||||
require 'logger'
|
||||
|
|
Loading…
Reference in a new issue