From: Alexey Verkhovsky Date: 2007-04-11T04:41:33+09:00 Subject: Re: Ruby Gem Creates Broken Batch File for Rake On 4/10/07, Bret Pettichord wrote: > def rake > # --nosearch flag here prevents CC.rb from building itself when a > project has no Rakefile > %{ruby -e "require 'rubygems' rescue nil; require 'rake'; load '#{ > File.expand_path(RAILS_ROOT)}/tasks/cc_build.rake'; ARGV << > '--nosearch'#{CruiseControl::Log.verbose? ? " << '--trace'" : ""} << > 'cc:build'; Rake.application.run"} > end Ugly, isn't it? :) Alex