Hello, My builds are all failing immediately with an error stating that it can?t connect to MySql: /opt/wcpublic/cruisecontrolrb-1.2.1/projects/WellCare/work wcapp$ ruby -e require ''rubygems'' rescue nil; require ''rake''; load ''/opt/wcpublic/cruisecontrolrb-1.2.1/tasks/cc_build.rake''; ARGV << ''--nosearch'' << ''--trace'' << ''cc:build''; Rake.application.run rake aborted! Can''t connect to local MySQL server through socket ''/var/lib/mysql/mysql.sock'' (2) Problem is that my TEST environment is set to use SQLite. Why is CCRB trying to connect to the development environment? Am I missing something obvious? Thanks for any help! Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080117/2b4e1f23/attachment.html
On Jan 17, 2008 12:08 AM, Brian Ketelsen <bketelsen at gmail.com> wrote:> Problem is that my TEST environment is set to use SQLite. Why is CCRB > trying to connect to the development environment? Am I missing something > obvious?Hi, You are already running with --trace flag. Can you, please, email me your build log and cruise_config.rb off-list? -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com]
I am running into this same problem with cc.rb 1.2.1. Alexey did you find a problem with Brian''s config? Any chance you could post what the problem is? I am NOT defining my own cruise task, so cc.rb is calling the default tasks [CruiseControl] Invoking Rake task "db:test:purge" [CruiseControl] Invoking Rake task "db:migrate" but using the development configuration settings in my database.yml. Jason On Thu, Jan 17, 2008 at 12:36 PM, Alexey Verkhovsky <alexey.verkhovsky at gmail.com> wrote:> On Jan 17, 2008 12:08 AM, Brian Ketelsen <bketelsen at gmail.com> wrote: > > Problem is that my TEST environment is set to use SQLite. Why is CCRB > > trying to connect to the development environment? Am I missing something > > obvious? > > Hi, > > You are already running with --trace flag. Can you, please, email me > your build log and cruise_config.rb off-list? > > -- > Alexey Verkhovsky > CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] > RubyWorks [http://rubyworks.thoughtworks.com] > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >
On Fri, Mar 7, 2008 at 2:47 PM, jsmorris <jsmorris at gmail.com> wrote:> Alexey did you > find a problem with Brian''s config?In Brian''s case, it was a bug in his build, nothing to do with CC.rb. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com]