Skip to content

Commit 949dd0a

Browse files
committed
init.rb requires load_path.rb
1 parent b176325 commit 949dd0a

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

init.rb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
lib_dir = File.expand_path('../lib', __FILE__)
2-
$LOAD_PATH.unshift lib_dir unless $LOAD_PATH.include?(lib_dir)
3-
4-
libraries_dir = ENV['LIBRARIES_HOME']
5-
unless libraries_dir.nil?
6-
libraries_dir = File.expand_path(libraries_dir)
7-
$LOAD_PATH.unshift libraries_dir unless $LOAD_PATH.include?(libraries_dir)
8-
end
1+
require_relative './load_path'
92

103
require 'eventide/postgres'

0 commit comments

Comments
 (0)