Permalink
Browse files

Move "lib" inclusion to load path into Rakefile

Linux makes no explicit guarantees about ordering on file listings,
resulting in kernel.rake being possibly loaded after other files which
depend on this behavior like platform.rake.
  • Loading branch information...
1 parent 432a4bb commit d8e1291762901efa6638eb68ce66a462c5062007 @mernen mernen committed Oct 23, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −0 Rakefile
  2. +0 −1 rakelib/kernel.rake
View
@@ -9,6 +9,8 @@ $compiler = nil
RUBINIUS_BASE = File.expand_path(File.dirname(__FILE__))
+$: << "lib"
+
# require 'tsort'
# require 'rakelib/rubinius'
View
@@ -74,7 +74,6 @@ def create_load_order(files, output=".load_order.txt")
end
end
-$: << 'lib'
require 'lib/compiler/mri_compile'
def compile_ruby(src, rbc, check_mtime = false)

0 comments on commit d8e1291

Please sign in to comment.