Displaying 4 results from an estimated 4 matches for "purge_test_database".
2006 Feb 13
8
postgres and rake
...7.4.8-1.RHEL4.1
My problem is with rake...
$ rake clone_structure_to_test --trace
(in /home/craig/ruby-db/th-db)
** Invoke clone_structure_to_test (first_time)
** Invoke db_structure_dump (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db_structure_dump
** Invoke purge_test_database (first_time)
** Invoke environment
** Execute purge_test_database
** Execute clone_structure_to_test
psql:db/development_structure.sql:28: NOTICE: CREATE TABLE will create
implicit sequence "case_managers_id_seq" for "serial" column
"case_managers.id"
psql:db/developm...
2005 Oct 28
3
PostgreSQL. Multiply schemas in one database. How to?
...nfiguring I tried to run rake test but it is failed with log
printed below. How to solve it and make it running??
** Invoke clone_structure_to_test (first_time)
** Invoke db_structure_dump (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db_structure_dump
** Invoke purge_test_database (first_time)
** Invoke environment
** Execute purge_test_database
dropdb: database removal failed: ERROR: database "darkthrone" is being
accessed by other users
createdb: database creation failed: ERROR: database "darkthrone" already
exists
** Execute clone_structure_to_test
psq...
2006 Mar 10
2
rake fails on build server, but not in development
...e closely
mimics our production environment, I got stuck on the following
strangeness on the build server (Linux, Oracle).
1. rake fails
2. rake test_units works
3. rake test_functional works
We''ve reduced the problem down to a simple fault by using --trace ... I
can see that "purge_test_database" does not happen between test_units
and test_functional when a complete rake is done, and the database has a
bunch of stuff in it from the unit tests, so it is not blank to start
for the functional tests.
So, I am confused. We have a complete match of Ruby and Gem versions
between develo...
2006 Aug 05
5
error with db:migrate
I''m new to ROR, and am working my way through the Agile Web Development
Book. In the test application, the authors tell me to test my database
connection by performing "rake db:migrate".
When I do, I get the error "Don''t know how to build task ''db:migrate''"
I''ve been looking around at the files, and I see a reference to a