From 32719b5ff7188b102a80f26008fd111e911b64db Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Wed, 11 Nov 2009 22:44:51 -0800 Subject: [PATCH] Use correct ruby bin path --- bin/gdb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gdb.rb b/bin/gdb.rb index e390780..6541b48 100755 --- a/bin/gdb.rb +++ b/bin/gdb.rb @@ -2,7 +2,7 @@ require 'rbconfig' if ARGV.size == 1 and ARGV[0] =~ /^\d+$/ - ARGV.unshift "#{Config::CONFIG['bindir']}/ruby" + ARGV.unshift "#{Config::CONFIG['bindir']}/#{Config::CONFIG['ruby_install_name']}" elsif ARGV.size == 2 and File.exist?(ARGV[0]) and ARGV[1] =~ /^\d+$/ else puts "Usage:"