Displaying 1 result from an estimated 1 matches for "backgroundrb_configuration".
2008 Jun 09
2
cruisecontrol integration
...''task for starting up backgroundrb''
task :cruise do
template = <<-EOF
:backgroundrb:
:ip: 0.0.0.0
:port: 11006
:development:
:backgroundrb:
:log: foreground
:test:
:backgroundrb:
:log: foreground
:production:
:backgroundrb:
:log: foreground
EOF
backgroundrb_configuration = ERB.new(template).result(binding)
#put backgroundrb_configuration, "#{RAILS_ROOT}/config/backgroundrb.yml"
bfile = File.new("#{RAILS_ROOT}/config/backgroundrb.yml", "w")
bfile.puts backgroundrb_configuration
sh "chmod 755 #{RAILS_ROOT}/config/background...