Thanks for your help Luis...
On Mon, Jul 20, 2009 at 7:31 PM, Luis Lavena<[email protected]> wrote:
> What is the output of this:
>
> ruby -rrbconfig -e "puts RbConfig::CONFIG['ruby_install_name']"
"ruby1.8.6" on both machines
> What is the value of ENV['rake'] when Rake has been loaded?
$ cat Rakefile
task :default do
puts ENV['rake']
end
$ rake
(in /tmp)
nil
>
> It shouldn't be prefixing it, unless is trying to resolve the symlink,
> which is doubtful.
It must be following the symlink, or figuring it out somehow. Here is
the line that blow up in Gem::Ext::RakeBuilder.build:
cmd = ENV['rake'] || "#{Gem.ruby} -rubygems #{Gem.bin_path('rake')}"
rescue Gem.default_exec_format % 'rake'
...it is getting to the rescue clause, because Gem.bin_path('rake')
fails with "can't find gem rake (>= 0)"
Thanks,
-- Chad
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers