summaryrefslogtreecommitdiff
path: root/tool/runruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/runruby.rb')
-rw-r--r--tool/runruby.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/runruby.rb b/tool/runruby.rb
new file mode 100644
index 0000000000..9de75cd388
--- /dev/null
+++ b/tool/runruby.rb
@@ -0,0 +1,4 @@
+require 'rbconfig'
+$:.unshift File.join('.ext', Config::CONFIG['arch'])
+$:.unshift '.ext'
+load ARGV[0]