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:
parent
1a2fba1b6b
commit
4377deed35
1 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue