Setup load path in path_to_enlightenment, so -I not needed in Rakefile.

This commit is contained in:
Jim Weirich
2010-08-16 15:39:46 -04:00
parent 8ef93f1d3a
commit ee9a03740b
2 changed files with 3 additions and 1 deletions

View File

@@ -7,6 +7,6 @@ require 'rake/testtask'
task :default => :test
task :test do
ruby '-I.', 'path_to_enlightenment.rb'
ruby 'path_to_enlightenment.rb'
end

View File

@@ -1,5 +1,7 @@
# The path to Ruby Enlightenment starts with the following:
$LOAD_PATH << File.dirname(__FILE__)
require 'about_asserts'
require 'about_nil'
require 'about_arrays'