Re: [Rails] rake db:migrate debacle

2013-10-30 Thread Tamara Temple
On Oct 28, 2013, at 11:44 PM, Will Amette jeff.j.strin...@gmail.com wrote: Hi there - I'm a ruby newbie and am stuck on the Getting Started with Rails app. See output below. Problem arose when I ran the rake db:migrate command. I also tried the 'rake db:migrate RAILS_ENV=development'

Re: [Rails] rake db:migrate debacle

2013-10-30 Thread Алексей Колосов
I think you need to run the rake db:migrate 2013/10/30 Hassan Schroeder hassan.schroe...@gmail.com On Mon, Oct 28, 2013 at 9:44 PM, Will Amette jeff.j.strin...@gmail.com wrote: Hi there - I'm a ruby newbie and am stuck on the Getting Started with Rails app. See output below. Problem

[Rails] rake db:migrate debacle

2013-10-29 Thread Will Amette
Hi there - I'm a ruby newbie and am stuck on the Getting Started with Rails app. See output below. Problem arose when I ran the rake db:migrate command. I also tried the 'rake db:migrate RAILS_ENV=development' command which may be obvious. Any ideas on how to fix this? Many thanks!!

Re: [Rails] rake db:migrate debacle

2013-10-29 Thread Hassan Schroeder
On Mon, Oct 28, 2013 at 9:44 PM, Will Amette jeff.j.strin...@gmail.com wrote: Hi there - I'm a ruby newbie and am stuck on the Getting Started with Rails app. See output below. Problem arose when I ran the rake db:migrate command. I also tried the 'rake db:migrate RAILS_ENV=development'

[Rails] Rake db:migrate

2013-05-07 Thread Lorenz Blackbird
Hello, I'm trying to use command rake db:migrate, but in MySQL I continuous get an empty set and I do know why. #/db/seeds.rb User.create(username: lorenz, password: mypass, admin: true) When I run: rake db:seed RAILS_ENV=development --trace I received: ** Invoke db:seed (first_time) **

Re: [Rails] Rake db:migrate

2013-05-07 Thread Colin Law
On 7 May 2013 11:18, Lorenz Blackbird li...@ruby-forum.com wrote: Hello, I'm trying to use command rake db:migrate, but in MySQL I continuous get an empty set and I do know why. #/db/seeds.rb User.create(username: lorenz, password: mypass, admin: true) When I run: rake db:seed

[Rails] rake db:migrate problem

2013-02-02 Thread Haris Hajdarevic
mini@mini:~/Sites/music_library$ rake db:migrate rake aborted! couldn't parse YAML at line 28 column 6 /home/mini/my_gems/gems/railties-3.2.9/lib/rails/application/configuration.rb:115:in `database_configuration' /home/mini/my_gems/gems/activerecord-3.2.9/lib/active_record/railtie.rb:78:in `block

Re: [Rails] rake db:migrate problem

2013-02-02 Thread Colin Law
On 2 February 2013 16:03, Haris Hajdarevic li...@ruby-forum.com wrote: mini@mini:~/Sites/music_library$ rake db:migrate rake aborted! couldn't parse YAML at line 28 column 6 /home/mini/my_gems/gems/railties-3.2.9/lib/rails/application/configuration.rb:115:in `database_configuration' Possibly

[Rails] rake db:migrate failing against oracle

2013-01-31 Thread Cris Shupp
Hello All -- I am using jruby 1.6.7.2 with rails 3.2.11 to create a brown bag for several other developers. I cannot get the migration to work to save my life... In my database yaml file I have the following: --- development: adapter: jdbc driver: oracle.jdbc.driver.OracleDriver url:

[Rails] rake db:migrate aborted

2011-11-02 Thread Jean
I'm reading the rails tutorial book and in chapter 6 page 199 I have to make a rake db:migrate, but I get this error: rake aborted! undefined method `prerequisites' for nil:NilClass (See full trace by running task with --trace) When I try with rake db:migrate --trace I get the following errors:

[Rails] rake db:migrate pukes on ActionController::Base.cookie_verifier_secret = '...'

2010-10-11 Thread RustedInSeattle
I am getting error from rake db:migrate command: rake db:migrate (in /Projects/MiniTodo) rake aborted! undefined method `cookie_verifier_secret=' for ActionController::Base:Class anyone know what's going on here? I had to delete the file in config/ initializer directory in order to run that db

[Rails] rake db:migrate - uninitialized constant

2010-03-18 Thread trans
Hi-- I'm trying to do a first migration (2.3.5). I generated a model Video, but when I try to migrate I get uninitialized constant Videos. Why is it trying to find a plural class name? Here's more complete output: tr...@logisys:models$ rake db:migrate --trace ** Invoke db:migrate (first_time)

Re: [Rails] rake db:migrate - uninitialized constant

2010-03-18 Thread Colin Law
On 18 March 2010 19:32, trans transf...@gmail.com wrote: Hi-- I'm trying to do a first migration (2.3.5). I generated a model Video, but when I try to migrate I get uninitialized constant Videos. Why is it trying to find a plural class name? Here's more complete output:

[Rails] rake db:migrate tries to use sqlite :-/

2010-02-26 Thread Peter Ehrlich
Hi I'm setting up Instiki on a webserver (VPS, linux.) Here's my error: [instiki-0.17]$ rake db:migrate (in /home/peter/pehrlich.com/html/instiki-0.17) rake aborted! no such file to load -- sqlite3 /home/peter/pehrlich.com/html/instiki-0.17/rakefile.rb:10 (See full trace by running task with

Re: [Rails] rake db:migrate tries to use sqlite :-/

2010-02-26 Thread Greg Donald
On Fri, Feb 26, 2010 at 4:24 PM, Peter Ehrlich li...@ruby-forum.com wrote: Hi I'm setting up Instiki on a webserver (VPS, linux.) Here's my error: [instiki-0.17]$ rake db:migrate RAILS_ENV=production rake db:migrate production:  adapter: mysql  encoding: utf8  reconnect: false  

[Rails] rake db:migrate throws unexpected error

2010-02-21 Thread danwoods
Working with rails for the first time and I getting a rake error when I try: rake db:migrate RAILS_ENV=staging The Error: (in [my current directory]) rake aborted! undefined method `symbolize_keys' for nil:NilClass Has anyone seen this? -- View this message in context:

[Rails] rake db:migrate fails

2009-09-01 Thread Jason Agujo
i run the command: rake db:migrate but i get the error of: Mysql::Error: query: not connected: SELECT version FROM schema_migrations i already checked my database.yml: development: adapter: mysql database: my_data username: root password: key123 encoding: utf8 host: localhost

[Rails] rake db:migrate generates error

2009-07-28 Thread NEO
Hi. When after runnig scaffold script server command I run the rake db:migrate, it displays no such sqlite found. I have already bound the sqlite with ruby successfully and yet it displays error.. Please help me.. thanks --~--~-~--~~~---~--~~ You received this

[Rails] rake db:migrate issue 'No migration with version number 3'

2009-07-16 Thread Carl Franz
First, I'm new to 'Ruby on Rails', but have 33 years experience in programming (mainframe, unix, windows, you name it, I've programed on it). Also, before I put this together I did read all of the threads out there which mention the 'rake' error. I have to say, the responses to these poor

[Rails] rake db:migrate failing in production in 2.3.2

2009-07-15 Thread Paul E. G. Lynch
I just upgraded from Rails 2.2.2 to Rails 2.3.2, and found that running rake db:migrate fails now in production mode, unless I add -- require 'config/environment' between rake and db:migrate. The error complains that model classes referenced in our migrations are not defined. In development

[Rails] rake db:migrate confusion following Cucumber upgrade

2009-07-09 Thread mikej
I recently upgraded Cucumber gem from 0.1.16 to 0.3.11. I ran ruby script/generate cucumber. When I ran rake features I received an error telling me I had pending migrations and should run rake db:migrate. I ran rake db:migrate despite fact that my db is up to date. I was confused that the

[Rails] rake db:migrate RAILS_ENV=production failed!

2009-04-23 Thread zelop...@gmail.com
Ok. I tried rake db:migrate RAILS_ENV=production and rake db:migrate after using cap deploy and both came up with the same thing: zelop...@angel:~/rainspore.com/current$ rake db:migrate (in /home/zelopast/rainspore.com/releases/20090423074909) rake aborted!

[Rails] rake db:migrate not saving latest version #

2009-03-03 Thread gsterndale
Howdy, I'm having some trouble migrating. From a fresh db, rake db:migrate runs successfully, with no errors. The tasks in the latest migration are performed with no problem. However, the latest version # is not saved in the schema_migrations table. All other version numbers are. Subsequent

[Rails] rake db:migrate should run for all environements

2009-02-02 Thread Fernando Perez
Or at least development and test. How many times did I find myself banging my head on the table with buggy tests until I figured out that I had forgotten to migrate the test database. Why rake db:migrate doesn't by default migrate all environments at the same time? -- Posted via

[Rails] rake db:migrate and mysql

2009-01-20 Thread Robert Todd
Hi, when I run this it aborts with an access denied message and usepassword = NO How do I change this to either not require a password, or allow me to set the password in the rake command line execution (it's set in the database.yml file, but rake isn't using it) -- Posted via

[Rails] rake db:migrate

2009-01-08 Thread alamodey
Hi, I'm new to Rails. Does rake db:migrate only process things under your /db/migrate/ folder? I made some changes in my /app/models/ files such as defining relationships between classes, but this doesn't seem to be reflected in my underlying database. So how do I create foreign keys in Rails

[Rails] rake db:migrate behaving different for different environments

2008-12-26 Thread Gourav Tiwari
I am wondering in my application for past few days, why the rake db:migrate is behaving differently for different environments. Any clue is appreciated Application name : project Database name : project_my_own Environment name : my_own If I use simply: rake db:migrate It works, but say I have

[Rails] rake db:migrate hanging w/ oracle

2008-10-08 Thread Frank Kim
When I run rake db:migrate w/ oracle it hangs on the db:schema:dump part and I am not sure why. E:\work\sandbox\codeReviewrake db:migrate --trace (in E:/work/sandbox/codeReview) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate **

[Rails] rake db:migrate caues BSOD (Blue Screen of Death) on Vista

2008-09-13 Thread Peter Alvin
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