Displaying 20 results from an estimated 60000 matches similar to: "rake db:create error:"Unknown database""
2013 Jun 29
0
rake db:create giving undefined method `' for nil:NilClass
My ruby version is 1.8.7
I have installed mysql-essential-5.0.90-win32
and using Fedena 2.3.5
List of all gems installed:*
columnize (0.3.6)
declarative_authorization (0.5.1)
fattr (2.2.1)
ffi (1.9.0)
gem_plugin (0.2.3)
highline (1.6.19)
i18n (0.4.2)
metaclass (0.0.1)
mime-types (1.23)
mocha (0.14.0)
mongrel (1.1.5)
mysql (2.8.1)
net-ping (1.6.0)
prawn (0.6.3)
prawn-core (0.6.3)
prawn-format
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
2008 Jan 31
0
Rake Bug? db:create:all directs db:migrate to the test db..
Dear all,
task ''test'' do
Rake::Task[''db:create:all''].invoke
Rake::Task[''db:migrate''].invoke
end
Did I miss something or what? Turns out that this simple task would
have migration done in the test db.
I''ve tried to "puts RAILS_ENV" inbetween and it shows "development",
but migration''s still done in
2008 Jun 11
6
how to create new database to oracle ?
i have rails-2.1.0
my database.yml
development:
adapter: oracle
database: pe
username: or
password: or
>rake db:create
>rake db:version --->Current version: 0
>rake db:migrate
rake aborted!
ORA-12154: TNS:could not resolve the connect identifier specified
(See full trace by running task with --trace)
is above idea is possible, then how ?
and
i thing i should give service
2012 Mar 14
3
solution for rake db:create
I ran into the following error:
WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use
''require ''rdoc/tas k'' (in RDoc 2.4.2+)'' instead.
at /usr/lib/ruby/vendor_ruby/rake/rdoctask.rb
rake aborted!
uninitialized constant Gem
----
Following that advice (which I also found by searching the web for the
error
2010 Feb 23
0
rake db:create:wants LibMySQL.dll for MySQL 5.0.37; where?
Hi All,
I''m running:
WinXP-Pro/SP3
Rails 2.3.5
MySQL 5.0.37-community-nt
I ran rake db:create:all and got something like:
LibMySQL.dll required.
I had a worse symptom previously when, on an earlier post on a related
failure, Sharagoz kindly suggested I drop back to a 5.0 version of
MySQL.
As I prepared this post, I wanted to recall my version. In
particular, I wanted to run
select *
2007 Jan 11
3
rake db:migrate doesn't work anymore
Hi!
Up to now, i had no problems with my migrations and rake (rake
db:migrate). Today, i got a project from a svn repository, but i can''t
do "rake db:migrate":
"rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1822:in
`load_rakefile''
(See full trace by running task
2006 Jul 25
3
create production tables? use "rake db:migrate"?
Hi,
What is the normal mechanism for creating the tables in the (a) test and
(b) production databases.
For example the following didn''t work for creating the production
tables:
a) change environment.rb to include "ENV[''RAILS_ENV''] ||= ''production''"
b) run "rake db:migrate"
However this seemed to still work against DEV not
2010 Feb 23
2
Problem: The command "rake db:create:all" crashes
Hi All,
I''m running:
Rails 2.3.5
MySQL 5.1.44
WindowsXP-Pro/SP3
Following Noel Rappin''s book, Pro RoR, I successfully got past the
point of creating my first scaffold:
ruby script/generate scaffold supplier nickname:string qbname:string
That produced the migration, 20100221011210_create_suppliers.rb:
class CreateSuppliers < ActiveRecord::Migration
def self.up
2008 Jun 09
0
Error when executing "rake db:migrate" with frozen Rails 2.1.0 on Media Temple
I''m hoping someone might have some insight into this, because I don''t
quite know how to figure this one out. I''m running the command with
Capistrano''s deploy:migrate to my (mt) Media Temple (gs) Grid Server,
but I get the same error (from "rake aborted!" and on below) when I
run "rake db:migrate" directly on the server in the
2010 Jun 28
3
rake db:create failing
Hi everyone,
First of all, I''m running Mac OS X Snow Leopard.
Trying to set up a new SQLite database, but when I run rake db:create,
I get the following huge message:
unable to open database file
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/
sqlite3_adapter.rb:13:in `initialize''
2009 Apr 01
4
permission denied errors with rake db:migrate
I am at a loss here and hoping for some advise on where to begin looking
with a series of errors I am suddenly getting when trying to rake:
"anything goes here" ..
lil-loco:/rails/cem craigmartin$ rake db:migrate
(in /rails/cem)
rake aborted!
Permission denied - /rails/cem/db/schema.rb
This is the current error.
lil-loco:/rails/cem craigmartin$ rake db:schema:load
(in /rails/cem)
--
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)
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/.
2010 Apr 11
10
rake db:create uninitialized constant Mysql::Error
I have yet to find a solution for this issue I have tried multiple
things that I have found on google, but yet have i found a solution. If
someone could help me and point me in the right direction I would be
much appreciated.
Thanks.
rake aborted!
uninitialized constant Mysql::Error
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
**
2006 Nov 16
4
rake db:migrate problem
I am just starting out learning RoR. I am trying to follow along with
the Depot project in "Agile Web Development With Rails ed2" and get the
error "You have a nil object when you didn''t expect it! You might have
expected an instance of Array. The error occured while evaluating
nil.[]" I ran --trace and get the following, but I am not sure what it
means. Can
2012 Feb 18
6
rake db:reset doesn't work, fails with unknown attribute: user_status
If I manually drop the database, and run create, then migrate it works fine.
But doing a:
rake db:reset
it fails with:
unknown attribute: user_status
Does this mean my migrations are not dropping things correctly?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2008 Sep 13
2
rake db:migrate caues BSOD (Blue Screen of Death) on Vista
I''m running latest RoR/Ruby/MySQL 5... I can reproduce at will.
Any idea how rake db:migrate could cause Vista to crash?
Pete
REF:
Windows Vista Home Premium (SP1), 2MB RAM, Dell Inspiron 1501
Ruby 1.8.6, Installer 186-26
MySQL 5
MySQL Connector Net 5.2.2
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because
2007 May 15
5
rake db:migrate sucks
I have installed ruby1.8.5-22 under windows,
and then rails 1.2.3
and also i update rubygems to 0.9.3 with gems update --system
however,when i enter the project directory and input the command rake
db:migrate,it sucks with the following errors:
rake aborted!
uninitialized constant ActionController
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in
`const_missing''
2013 Nov 26
2
'$ rake db:create' don't work!
Hey guys,
I''m new to learning RoR and I try to do a database with mysql and I
have a problem.
First I create a a folder in my desktop and after with command in the
terminal on Mac Os Mavericks I create a project:
rails new vota_prato -d mysql
after I will try to create a database with this command:
$ rake db:create
and I have this error:
MacBook-Pro-de-Romenig:vota_prato romenig$ rake