mirror of
https://github.com/edgecase/ruby_koans.git
synced 2026-04-15 07:23:19 -04:00
Setup load path in path_to_enlightenment, so -I not needed in Rakefile.
This commit is contained in:
@@ -7,6 +7,6 @@ require 'rake/testtask'
|
|||||||
task :default => :test
|
task :default => :test
|
||||||
|
|
||||||
task :test do
|
task :test do
|
||||||
ruby '-I.', 'path_to_enlightenment.rb'
|
ruby 'path_to_enlightenment.rb'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# The path to Ruby Enlightenment starts with the following:
|
# The path to Ruby Enlightenment starts with the following:
|
||||||
|
|
||||||
|
$LOAD_PATH << File.dirname(__FILE__)
|
||||||
|
|
||||||
require 'about_asserts'
|
require 'about_asserts'
|
||||||
require 'about_nil'
|
require 'about_nil'
|
||||||
require 'about_arrays'
|
require 'about_arrays'
|
||||||
|
|||||||
Reference in New Issue
Block a user