1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

ensure activemodel lib is setup correctly

This commit is contained in:
Joshua Peek 2010-02-28 18:27:00 -06:00
parent 1a2fba1b6b
commit 4377deed35

View file

@ -1,5 +1,8 @@
require File.expand_path('../../../../load_paths', __FILE__)
lib = File.expand_path("#{File.dirname(__FILE__)}/../../lib")
$:.unshift(lib) unless $:.include?('lib') || $:.include?(lib)
require 'config'
require 'active_model'