Displaying 20 results from an estimated 10000 matches similar to: "error: development database is not configured."
2006 Jul 12
5
SystemStackError
SystemStackError in GreyController#grey_search
stack level too deep
can anybody please enlighten me on this one...any possible way to
troubleshoot?
thanks,
MSN id: ICEMANyears@netscape.net
--
Posted via http://www.ruby-forum.com/.
2010 Jan 20
4
Rake Aborted wont Migrate mysql
Hello all, I''ve been trying to get ruby on rails to work with my local
install of mysql(its with wamp). Windows XP, Ruby 1.8.6, rails 2.3.5,
rubygems 1.3.5, mysql 5.2 something I believe.
I have ruby installed in:
C:\Ruby
and my mysql is installed in:
C:\wamp\bin\mysql\mysql5.1.30\bin
I''ve attempted to change my database.yml file to include the port 80,
and port 3036, the
2010 Oct 12
5
yml file structure
Hi All,
rake db:create is not working. It is giving an error like
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
syntax error on line 17, col -1: `''
My yml file reads like:
development:
adapter:mysql
encoding:utf8
reconnect:false
database:news_development
pool:5
username:root
password:
host:localhost
There is space at
2012 May 29
1
Puppet Dashboard: Setting up RAILS environment
no matter what I try I keep getting this error:
rake RAILS_ENV=production db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
Access denied for user ''dashboard''@''localhost'' to database
''production''
I have setup the dashboard user in mysql DB, tested
2007 Dec 11
2
RoR Error When Doing: rake db:schema:load
Hey, I am new to this and I thought I had finally set up everything
perfectly after three days of trying to configure it. However I run this
command:
rake db:schema:load
and I get an error "syntax error on line 23, col 11: `''". The error
however is now with the schema it''s with the ruby install itself as you
can see with the trace I ran:
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,
2011 Apr 20
6
rake db:create fails
Hello folks,
I´m here trying to find the way to solve my problem.
When i try to run
rake db:create or rake db:create:all
the process stops and the databases are not created.
I change the directives, putting --trace before the rake db:create and
the steps are
C:\appws\cookbook>rake db:create --trace
(in C:/appws/cookbook)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
2007 Aug 07
4
Execute additional commands after creating database?
I''m writing some code that accesses some lagacy database on
PostgreSQL. Since the old database had some really ughly and weird
naming conventions (like CamelCase). To work around this I created a
second schema (named rails) in the same database and gave the tables
and fields some rails-friendly names. The database user that Rails
uses has its search_path set to the rails schema. That way
2006 Aug 08
6
rake migrate the first time - uses more than schema_info?
All,
I have two migration files, file 1 and file 2.
For reasons that I don''t want to go into unless I must, I want to only
run file 2 on my production database (file 1 contains a bunch of table
creation stuff for already existing tables).
I figured if I created a schema_info table and set the version in it to
1, then I could just run rake db:migrate RAILS_ENV=production and just
2006 Feb 23
3
rake error
I installed at least one gem since I thought I actually once was able to
run ''rake appdoc'' command since there is an api for my models and the
ez_where plugin that I installed earlier. I wanted to see the api for
pdf-writer which is the gem that I installed most recently.
(no, I haven''t given up the issue of ''looping'' that Kevin and some
others replied
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
2011 Jun 08
2
MySql2 adapter hangs in Rails3 on Windows XP
Previously we''ve used Rails2.xx with no problems and we''re trying to
upgrade to ruby 1.9.2p180 and Rails 3.0.7 with pik to keep ruby
versions separate.
After some initial difficulties with MySql2 gem installation,
following <a href=http://rorguide.blogspot.com/2011/03/installing-
mysql2-gem-on-ruby-192-and.html>these tips</a> got mysql2 v0.2.7
installed.
My problem
2008 Nov 06
8
anyone able to explain logic behind "rake spec" startup (e.g. db:test:prepare => abort_if_pending_migration => invoke environment => etc etc)
anyone able to explain logic behind "rake spec" startup? i.e. the
below steps & why things occur when they do
Macintosh-2:myequity greg$ rake spec --trace
(in /Users/greg/source/myequity)
** Invoke spec (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute
2006 Jul 23
18
help with "rake db:migrate" error please?
Hi,
Just trying to get my first database based rails app up on
dreamhost.com. The app was working prior to putting in mysql DB usage
but I''m just stuck on getting the app working with mysql. I''ve already
created the database and can connect to it manually.
Below is the error I get after running the rake migrate. It worked OK
on my home PC environment. I did change the
2006 Aug 14
1
rake test:units -> table already exists
Hi!
When I run test:units, rails complains about the tables already being
present. They had to be present so I could run individual unit tests. So
why doesn''t rails just drop the tables if they exist?
Any ideas??
Jeroen
debug oupt below:
>rake test:units --trace
(in ...)
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
2010 Aug 23
1
Cannot migrate database, strange error!
Im using restful authentication, and i changed the username model from
login to username. The error is Mysql::Error: Key column ''login'' doesn''t
exist in table: CREATE UNIQUE INDEX `index_users_on_login` Heres the
trace:
DEPRECATION WARNING: Rake tasks in
vendor/plugins/restful-authentication/tasks are deprecated. Use
lib/tasks instead. (called from
2006 Jun 13
3
rake migrate working but not working
Hi All
I got this migration to work the first time I tried it, dropped the
table and not the migration won''t create the table but does not show any
errors. Here is the trace on the execution of the rake migrate:
my-computer:~/forms lars$ rake migrate --trace
(in /Users/lars/forms)
** Invoke migrate (first_time)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
**
2006 Jul 07
5
Re: Rails migration issue
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok, so rake migrate --trace gets you this:
Khavi:~/Documents/WebCode/rails/clickcaster sgoodwin$ rake migrate --
trace
(in /Users/sgoodwin/Documents/WebCode/rails/clickcaster)
** Invoke migrate (first_time)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
** Execute migrate
then it
2006 Jun 10
2
readline problems
I get the following error:
rake test_units --trace
** Invoke test_units (first_time)
** Invoke test:units (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
** Execute db:test:clone
**
2009 Jan 23
7
RubyOnRails with MS SQL - Connectivity Error
Hi all...
Please help me solve the issue.
While trying to create a connection with MS SQL database in RubyOnRails,
I''m getting a ‘Deprecated ..’ error. (I referenced a doc posted in net
for the same.)
System details: OS: Windows Xp
Ruby version: 1.8.6
Rails: 2.1.2
Gems: 1.3.1
RadRails: 0.7.2