diff options
-rwxr-xr-x | tool/rbinstall.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index bf47bed7d5..c469ec56a4 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -150,6 +150,7 @@ def parse_args(argv = ARGV) end $destdir ||= $mflags.defined?("DESTDIR") + $destdir = File.expand_path($destdir) if $destdir if $extout ||= $mflags.defined?("EXTOUT") RbConfig.expand($extout) end @@ -688,9 +689,6 @@ module RbInstall def write_cache_file end - def generate_plugins - end - def shebang(bin_file_name) path = File.join(gem_dir, spec.bindir, bin_file_name) first_line = File.open(path, "rb") {|file| file.gets} |