Skip to content

Commit

Permalink
Use correct ruby bin path
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm1 committed Nov 12, 2009
1 parent d8ba49c commit 32719b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/gdb.rb
Expand Up @@ -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:"
Expand Down

0 comments on commit 32719b5

Please sign in to comment.