Permalink
Browse files

Add all gems to runruby to make things easier.

  • Loading branch information...
1 parent a8d97ff commit 389d28096b141b0693bbc40fc498c38f0c0d0d78 @zenspider committed Oct 31, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 tool/runruby.rb
View
@@ -64,6 +64,9 @@
if e = ENV["RUBYLIB"]
libs |= e.split(File::PATH_SEPARATOR)
end
+
+libs |= Dir["gems/*/lib"] if File.directory? "gems"
+
env["RUBYLIB"] = $:.replace(libs).join(File::PATH_SEPARATOR)
libruby_so = File.join(abs_archdir, config['LIBRUBY_SO'])

0 comments on commit 389d280

Please sign in to comment.