[Cruisecontrolrb-users] Conflicts with schema.rb?
Billy Kimble
bkimble at inc21.com
Wed Apr 30 13:41:00 EDT 2008
Beat me to it! Drats.
Here is a handy article I use any time I need to remember how to
properly use SVN ignore. Hope it helps Will.
http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion
Billy
On Apr 30, 2008, at 10:35 AM, Lori Olson wrote:
> schema.rb is a generated file. It's constructed from your
> development database structure, and used to create the test
> database every time you run tests. Although I've seen people argue
> that you should leave it, in my version control world generated
> files are never checked in to the repository.
>
> You should:
>
> 1. delete it from your subversion repository
> 2. tell svn to ignore it
>
> After those two steps, your builds should run more smoothly.
>
> Regards, Lori
>
> On Wed, Apr 30, 2008 at 11:16 AM, Will Sargent
> <will.sargent at gmail.com> wrote:
> This is interesting, and I'm still not exactly sure what's causing it.
>
> When people check in files, occasionally CruiseControl will error out
> saying that there's a conflict in schema.rb. I can go into
> cruisecontrol and svn revert the file, but it's cropped up several
> times, and I'm getting a little tired of it.
>
> How does schema.rb work? I've read through The Rails Way and some
> online references, but I still don't really think I understand how
> Rails, integration testing and database migration all interact.
> What's the usual cause of this, and is there some series of steps in
> CruiseControl or rake that prevents this happening?
>
> Will.
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> _______________________________________________
> Cruisecontrolrb-users mailing list
> Cruisecontrolrb-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080430/e3ebfef3/attachment-0001.html>
More information about the Cruisecontrolrb-users
mailing list