Displaying 20 results from an estimated 40000 matches similar to: "rake -- problem"
2009 Jan 15
0
"rake test" works but "rake test:units" fails
"rake test" runs all the tests as it should...
but "rake test:units"
C:\...\...>rake test:units
(in C:/.../...)
rake aborted!
FATAL C3D000 Mdatabase "postgres" does not exist Fpostinit.c
L274
RInitPostgres
(See full trace by running task with --trace)
Small part of the trace:
C:\...\...>rake test:units --trace
(in C:/.../...)
** Invoke test:units
2008 Jan 15
9
using postgres rails/rake fails
hello list,
yesterday i installed a fresh rails installation with a proper upgrade
of gem to version 1.0.1
i saw, there is still a gem package to support postgresql known as
postgres-0.7.9.2008.01.09
on rubyforge, its the newest one of stable postgres support for ruby
additionally i installed, of course, a the postgres database on my
machine to
C:\Programme\PostgreSQL\8.2
after setting up a new
2010 Jul 03
0
** Execute environment rake aborted! Could not find table 'pages'
Hey, I''ve googled this pretty thoroughly and saw a couple people with the
same issue but none of the solutions worked for me.
Background: I am trying to upload my Radiant CMS site to Heroku.
Location: http://morning-frost-41.heroku.com/
Problem: Well on Heroku, the thing that really stands out it:
PGError: ERROR: relation "pages" does not exist
Pages refers to a table within
2008 Jun 03
11
rake db:migrate not working
When I run the rake db:migrate command, I get this:
C:\testror\depot>rake db:migrate --trace
(in C:/testror/depot)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
182: Le systÞme d''exploitation ne peut pas exÚcuter %1. - c:/ruby/
lib/ruby/gem
2012 Oct 05
2
heroku rake db:drop error PG::Error: FATAL: permission denied for database "postgres"
How to empty DB in heroku<http://stackoverflow.com/questions/4820549/how-to-empty-db-in-heroku>
I have a Postgres database on Heroku. It is one of the free beta ones.
Locally, when testing, I often run rake db:drop && rake db:create && rake
db:migrate as a way to reset the database.
However, when I try to run this on Heroku, I get the error:\[code\]Couldn''t
drop
2006 Aug 18
3
connect to postgres db
I''ve followed the tutorial and just don''t get it.
How do I connect my ruby/rails sample app to my postgres database.
I did follow step 1-4 of the tutorial, I go to step 5:
(http://wiki.rubyonrails.org/rails/pages/TutorialStepFive)
and try the "rake" commmand and get this:
rake aborted!
no such file to load -- postgres
so I ran with -trace and get this:
2008 Aug 29
2
rake db:test:prepare
Hi
I am using postgres And I have already development database..When I
give
rake db:test:prepare it gives
sh: dropdb: command not found
sh: createdb: command not found
But how ever test db is created Same happens also when rake
db:test:clone
I would like to know why I am getting this message
Thanks in advance
Sijo
--
Posted via http://www.ruby-forum.com/.
2007 Oct 12
1
database configuration specifies nonexistent postgresql adapter
Hi
I am trying to get RoR to work with Postgresql 8,2.5 (latest stable
version)
Steps taken
1. Download Postgresql 1.82 and installed successfully
2. Edited my Database.yml
development:
adapter: postgresql
database: test_development
username: postgres
password: xxx
host: localhost
test:
adapter: postgresql
database: test_test
username: postgres
password: xxx
host: localhost
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
2011 Aug 10
1
Rake seems to have stopped working.
I am using rails 3.0.7 and my database is postgresql and my OS is Suse
Linux 10.1
Somehow a problem created into my system and I don''t know how.
After using rake successfully many times, I then started getting the
error message
"You have already activated rake 0.9.0 but your gem file requires rake
0.8.7 …". Based on other posts here I used ''gem uninstall rake –
2010 Feb 04
0
How to start/stop database from rake?
Hello,
I would like to start the database server (postgres) before tests are run
and stop it afterwards. For this, I have created a little wrapper around
rake:
$ cat run-rake
#! /bin/sh
DB=`pwd`/db/pgdata
# init database cluster if it does not exist yet
[ -d $DB ] || initdb -D$DB
# start the database server
pg_ctl -D$DB -o "-h '''' -k
2009 Jun 05
0
[PATCH server] update postgres for ipv6 support, or db:migrate will fail
If the ::1 ipv6 loopback entry is missing in pg_hba.conf rake db:migrate will fail
rake aborted!
FATAL: no pg_hba.conf entry for host "::1", user "ovirt", database "ovirt_development", SSL off
---
installer/modules/ovirt/manifests/postgres.pp | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git
2006 Jan 30
5
Problems migrating from Postgres to MySQL
Hello everyone,
I''m trying to migrate a working app from Postgres to MySQL, and I''m
trying to use a migration to get it done rather than alter all my
database table creation scripts to MySQL syntax. I''ve done loads of
work with Postgres, but am a real newbie with MySQL...
I did a ''rake db_schema_dump'' from my Postgres app, and got a nice
looking
2006 Apr 03
2
problems testing on 1.1 and postgresql
Hi,
I get errors doing this:
1) createdb myapp_test
2) rake db:test:clone_structure
3) rake test:units
rake aborted!
PGError: ERROR: relation "matches" already exists
I''m using the :sql schema format because there are some problems with
postgres and the :ruby schema format
config.active_record.schema_format = :sql
It seems rake test:units is trying to create the tables
2008 Jan 14
2
cant install psql adapter for rails 2.0
hello list,
i set up a new rails instance with the new rails 2.0 lib.
i installed rails 2.0 over my earlier version of rails where is add
postgres support
via gem install postgres
so the error with postgres appears if i set up the database with rake
db:create:all
the following message appears:
rake aborted!
Please install the psql adapter: `gem install activerecord-psql-
adapter` (no such file
2011 Jul 05
4
Problem of "rake spec"
Hi all,
I am a bit confused when i type rake spec and it gives me this
message,
No examples matching ./spec/**/*_spec.rb could be found
what is that mean that something is not found.
and where i can input my the test code because i did have a tiny
sample code in user_controller_test.rb.
is that the right place to test functional..
plz give me a help
thanks
--
You received this message
2007 Oct 05
0
RSpec Trunk - Successful : Rake Aborted
$ rake spec --trace
(in /work/workspace/ng)
** Invoke spec (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:test:prepare
** Invoke db:test:clone (first_time)
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute
2006 May 28
0
rake errors - not as helpful as they could be
hi list -
i recently attempted to run rake for a first pass at some tests and ran into
a mysterious failure. rake indicated that it had aborted running the tests
but provided little information on exactly why this occurred. the only bit
of information it did offer was that i could use --trace for a full trace.
of course i did that hoping it would provide more detail, but it didn''t help
a
2006 Apr 02
1
not null constraints added when running rake - is this a "feature?"
After upgrading to Rails 1.1, a lot of my unit tests broke. Turns out
when I run rake test_units and it migrates the test database, it adds
a not null constraint to every column. I don''t have this specified in
my migration, and apparently it works fine with rake migrate if I do
''rake migrate RAILS_ENV=test'', the not null constraints aren''t set.
So why when I
2006 Apr 08
1
Problems with Login Engine/rake
Hello,
I have been having problems installing the Login Engine.
I follow all the steps found on the download site (rails-engines.org),
but when I get to the DB_SCHEMA step, I do
rake engine_migrate ENGINE=login in the application root.
"""
C:\rails\cag> rake engine_migrate ENGINE=login
(in C:/rails/cag)
rake aborted!
Don''t know how to build task