Use pathname for load DIR.
This commit is contained in:
parent
11c5632c21
commit
3eef8842e4
1 changed files with 3 additions and 2 deletions
|
@ -10,9 +10,10 @@ $VERBOSE = true
|
|||
require 'pp'
|
||||
require 'set'
|
||||
require 'fcntl'
|
||||
require 'pathname'
|
||||
|
||||
QASIM_INCLUDE_DIR = "lib"
|
||||
QASIM_DATA_DIR = "."
|
||||
QASIM_INCLUDE_DIR = Pathname.new(File.dirname(__FILE__)).parent + "lib"
|
||||
QASIM_DATA_DIR = Pathname.new(File.dirname(__FILE__)).parent
|
||||
|
||||
$:.push QASIM_INCLUDE_DIR
|
||||
|
||||
|
|
Loading…
Reference in a new issue