diff options
Diffstat (limited to 'tool/instruby.rb')
-rwxr-xr-x | tool/instruby.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/instruby.rb b/tool/instruby.rb index 852a06d0f0..3c277720d3 100755 --- a/tool/instruby.rb +++ b/tool/instruby.rb @@ -4,9 +4,9 @@ load "./rbconfig.rb" include RbConfig $".unshift File.expand_path("./rbconfig.rb") -srcdir = File.expand_path('..', File.dirname(__FILE__)) +srcdir = File.expand_path('../..', __FILE__) unless defined?(CROSS_COMPILING) and CROSS_COMPILING - $:.replace([File.expand_path("lib", srcdir), Dir.pwd]) + $:.replace([srcdir+"/lib", Dir.pwd]) end require 'fileutils' require 'shellwords' |