autoproj 1.9.7.rc5 → 1.9.7.rc6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/autoproj/cmdline.rb +1 -1
- data/lib/autoproj/version.rb +1 -1
- metadata +1 -1
data/lib/autoproj/cmdline.rb
CHANGED
@@ -75,7 +75,7 @@ module Autoproj
|
|
75
75
|
['gem', 'irb', 'testrb'].each do |name|
|
76
76
|
# Look for the corresponding gem program
|
77
77
|
prg_name = "#{name}#{install_suffix}"
|
78
|
-
if File.file?(prg_path = File.join(
|
78
|
+
if File.file?(prg_path = File.join(RbConfig::CONFIG['bindir'], prg_name))
|
79
79
|
File.open(File.join(bindir, name), 'w') do |io|
|
80
80
|
io.puts "#! #{ruby_executable}"
|
81
81
|
io.puts "exec \"#{prg_path}\", *ARGV"
|
data/lib/autoproj/version.rb
CHANGED