> > When CC.rb runs a rake migrate, will it run it against the > > vendor/rails code or the work/projects/vendor/rails code? > > work/projects/vendor/rails > > How CC.rb dashboard is implemented (and which version of Rails it > uses) is completely irrelevant.
Well - thing is, I've got Rails 2 in work/projects/vendor/rails and 1.2.6 in CC.rb's vendor/rails and CC.rb is giving me no method errors on "t.string :widgets" migrations code. If I go inside the project's Rails app and run rake db:migrate from the command line, no problem; when CC.rb runs it, I'm getting the errors. I'll run it again tomorrow and see if I can get actual error output, that'll be more useful, but what I saw looked as if it was invoking rake to run a cc:build task, and that *this* task was then invoking the rake db:migrate (or actually rake db:test:migrate), and doing so with Rake.application.run or something like it. So in *that* context it does appear relevant. It appeared that ccrb was pulling in the rake tasks of the project into its Rake and kaboom. But like I say I'll see if I can grep some actual error output tomorrow rather than trying to do everything from memory. If I'm not wrong then maybe a simple command-line hack could function as a workaround. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com _______________________________________________ Cruisecontrolrb-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
