Browse files

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

  • Loading branch information...
1 parent 8ef93f1 commit ee9a03740bfea903ce0580d5555c8ee4c709022e @jimweirich jimweirich committed Aug 16, 2010
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/Rakefile
  2. +2 −0 src/path_to_enlightenment.rb
View
2 src/Rakefile
@@ -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
2 src/path_to_enlightenment.rb
@@ -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'

0 comments on commit ee9a037

Please sign in to comment.