Displaying 20 results from an estimated 2000 matches similar to: "rake clone_schema|structure_to_test fail"
2005 Mar 06
3
permission error in rake''s clone_structure_to_test
Hello,
When I try to run "rake clone_structure_to_test" on my project, I get
the following errors:
$ rake clone_structure_to_test
(in /home/www/cedscreening)
psql:db/development_structure.sql:8: ERROR: permission denied to set
session authorization
psql:db/development_structure.sql:16: ERROR: permission denied for
schema public
psql:db/development_structure.sql:34: NOTICE: CREATE
2006 Feb 13
8
postgres and rake
am in a bit of a quandry...
I have asked postgresql-users list and haven''t gotten anything to work
with...
> > How do I change the owner of a schema?
> >
> > ALTER SCHEMA "public" OWNER to "some_user"; #?
>
>
http://www.postgresql.org/docs/current/interactive/sql-alterschema.html
>
> The docs explain this very situation. HTML
2005 Oct 28
3
PostgreSQL. Multiply schemas in one database. How to?
Hi all.
I am using PostgreSQL in my current project and I have couple of questions
on this topic.
Previously I have used 3 databases for project. i.e.
megaproject_development, megaproject_test and megaproject_development.
But I don''t like this variant because of ''rake dump_db_structure'' writes a
lot of PostgreSQL specific data for structure file (operators, functions,
2006 Feb 05
2
Continuous Integration question (not CIA question)
On 2/5/06, Joe Van Dyk <joevandyk@gmail.com> wrote:
> On 2/4/06, Jonathan Weiss <jw@innerewut.de> wrote:
> > Joe Van Dyk wrote:
> > > Hi,
> > >
> > > I''d like to set up CIA. So I added the plugin to my app, went to my
> > > subversion server, added the post commit, added a build directory.
> > >
> > > I checked
2005 Sep 17
0
Postgresql + rake errors
Hi,
Using rake with Postgresql gives the following error:
psql:db/development_structure.sql:13: ERROR: must be owner of schema public
I''m using the latest version of rails and postgresql 8.0 on ruby 1.8.3
(2005-06-23) [i486-linux].
The above error occurs when rake clones my dev database to test - it
first came to my attention when I ran "rake" for my first unit tests. It
2006 Jan 07
1
Configuration problem on older app upgraded to 1.0
Hello, everyone.
I have an application that began on a much earlier version of rails, and has been upgraded to 1.0. Somewhere along the line, tests got broken. The first thing I noticed, upon looking into the cause, is that my test database was not being cloned correctly from development. So, I tried to run the tasks by hand:
$ rake clone_schema_to_test
(in /Users/jkh/Development/assetstream)
2006 Feb 04
2
CIA question
Hi,
I''d like to set up CIA. So I added the plugin to my app, went to my
subversion server, added the post commit, added a build directory.
I checked out the code in the build directory on the svn server.
However, running rake on it fails, because the test database is empty
(i.e. no tables, so fixtures don''t load).
What''s the solution here?
2006 Feb 28
10
Salted hash login, postgresql, unit tests
Hello,
I have tried to install the salted hash login generator by following the
quick start guide at:
http://wiki.rubyonrails.com/rails/pages/SaltedLoginGeneratorQuickstart.
Everything seems to work fine until I try to run the unit tests by doing
''rake test_units'', then I get the following error message:
<error-message>
[brasse@keso login-test]$ rake test_units
(in
2006 Mar 02
2
Unit tests, salted hash login
Hello,
I am having some trouble running the unit tests for the salted has login
generator. I am a bit new to both ruby and rails so I am having a little
trouble deciphering the error message I get when running ''rake
test_units''. Up till the point where I try to run the unit tests I have
followed the quick start guide for the salted hash login generator
2006 Nov 24
6
Rails 1.2 RC1 problem
Hi
Have this helper method inside a sites_helper.rb module
def distritos
[
['0', 'Todos'],
['1', 'Aveiro'],
['2', 'Beja'],
['3', 'Braga'],
['4', 'Brangança'],
['5', 'Castelo Branco'],
['6', 'Coimbra'],
['7',
2008 Dec 05
0
test:clone_structure problems with Postgres
(in C:/projects/books/TheatreTickets)
** Invoke db:test:clone_structure (first_time)
** Invoke db:structure:dump (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:structure:dump
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:clone_structure
psql:db/development_structure.sql:15: ERROR: language
2000 Dec 29
1
[kdo@cosmos.phy.tufts.edu: protocol incompatibility between OpenSSH and SSH secure shell?]
Hello all!
I didn't see anyone else reply to this, but I also didn't see
anything show up on the OpenSSH development list (Cc'ed here). There
is a patch call out right now for the pending release of 2.4.0. I'm
wondering if anyone is aware of this and if it's already been covered
in 2.4.0?
Please reply to list and original poster...
----- Forwarded message
2003 Aug 07
2
Recover data from ext3 filesystem
Hello everyone,
I came back from a long vacation the other day to a RH 7.3 system that
would not boot. My situation is similar to Eddy's post "Seriously
corrupt ext3 root filesystem - help?" from a couple of days ago.
I can mount the drive in read-write and read-only modes. I can get into
some of the directories and get certain files off of the disk. But, if
I try to access a
2007 Apr 05
7
Re: how to use Chinese Characters in wxRuby?
yes,I'm using wxruby2
When I change
"samples/text/unicode.rb" 's content:
require 'wx'
into
begin
require 'wx'
rescue LoadError => no_wx_err
begin
require 'rubygems'
require 'wx'
rescue LoadError
raise no_wx_err
end
end
and run unicode.rb in this way:
ruby -Ku unicode.rb
I got the error message like this:
unicode.rb:119:
2007 Jan 09
0
development_structure.sql?
Hi,
I noticed that db/development_structure.sql file somehow appeared in my
project...
Why is it generated? what is it good for?
I see it has my db schema. but I already have my db schema in another
file I created.
thanks!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2006 Jan 30
2
Rake and NOT using schema.rb for clone_structure_to_test
Is there a way to specify not not use schema.rb but instead using a
native sql file to clone structure to the test db? Schema.rb doesn''t
really work that well for mediumblobs ... Thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 23
1
PostgreSQL CASCADE not copied to test db
When the unit test harness creates a test database from the
development database, the ON DELETE CASCADE constraints I have on my
foreign keys are not copied into the test database. (I can tell by
looking at db/development_structure.sql.)
That means the fixtures can''t load/unload from the test database
properly. In other words, all my tests fail with the same error
message:
2020 Jan 15
0
[EXTERNAL] Re: Tripp Lite SMART1500LCD will not stay shut down when power is disconnected
My serial # is 2835BY0SM886900639, model # SMART1500LCD.
Using stock nut, my UPS will turn back on after load off, even with no
power connected. Servers boot up and fail when the UPS finally dies.
Using my patched nut, the UPS will fail to turn on if the power returns
after the shutdown command but before actual load off.
It seems like this UPS is missing the "load.on" and/or
2020 Jan 15
2
[EXTERNAL] Re: Tripp Lite SMART1500LCD will not stay shut down when power is disconnected
Thanks Ken.
I'll plan to sit down and look up the protocol information over the next week or so and follow up.
________________________________
From: Ken Olum <kdo at cosmos.phy.tufts.edu>
Sent: Tuesday, January 14, 2020 1:35:10 PM
To: David Zomaya
Cc: kdo at cosmos.phy.tufts.edu; layne.fowler at gmail.com; nut-upsuser at alioth-lists.debian.net
Subject: [EXTERNAL] Re: [Nut-upsuser]
2005 Dec 27
4
Migrations & Unit Testing: Possible Bug in Rails?
I recently started using migrations to create the schema of a Rails
project I am working on. The database I am using for this project is
MySQL. The initial migration creates the table and also includes a
number of execute statements (to do some things like setting primary
keys, autoincrement on some columns and other messy voodoo).
Running "rake migrate" creates the database with no