search for: abort_if_pending_migrations

Displaying 9 results from an estimated 9 matches for "abort_if_pending_migrations".

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 db:abort_if_pending_migrations ** Execute db:test:prepare ** Invoke db:test:load (first_time) ** Invoke db:test:purge (first_time) ** Invoke environment ** Execute db:test:purge ** Execute db:test:load ** Invoke db:sc...
2013 May 07
4
Rake db:migrate
...rate, 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) ** Execute db:seed ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Invoke db:load_config (first_time) ** Execute db:load_config ** Execute db:abort_if_pending_migrations and my database keep empty. The migration is new and it works. Thanks to all. -- Posted via http://www.ruby-forum.com...
2010 Jan 20
4
Rake Aborted wont Migrate mysql
...ation. -------------- Trace results ---------------- C:\Ruby\projects\music_library>rake --trace (in C:/Ruby/projects/music_library) ** Invoke default (first_time) ** Invoke test (first_time) ** Execute test ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:abort_if_pending_migrations C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/string/output_safety.rb:36: [BUG] Segmentation fault ruby 1.8.6 (2009-08-04) [i386-mingw32] This applicat...
2009 Apr 30
1
rake spec - no output
...e spec This should return a bunch of passed tests, but doesn''t. Environment: Ubuntu 9.04 Rails 2.3.2 ruby 1.9.1p0 rspec 1.2.4 as gem rspec-rails 1.2 4 as gem rake spec --trace (in /home/tick/work/rspec-test) ** 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 db:abort_if_pending_migrations ** Execute db:test:prepare ** Invoke db:test:load (first_time) ** Invoke db:test:purge (first_time) ** Invoke environment ** Execute db:test:purge ** Execute db:test:load ** Invoke db:sc...
2009 Jan 15
0
"rake test" works but "rake test:units" fails
...000 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 (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:abort_if_pending_migrations ** Execute db:test:prepare ** Invoke db:test:load (first_time) ** Invoke db:test:purge (first_time) ** Invoke environment ** Execute db:test:purge rake aborted! FATAL C3D000 Mdatabase...
2010 Oct 14
0
no such file to load -- ZenTest but I have already installed ZenTest
$ rake spec cucumber --trace (in /home/soroush/projects/mediapilot) ** 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 db:abort_if_pending_migrations ** Execute db:test:prepare ** Invoke db:test:load (first_time) ** Invoke db:test:purge (first_time) ** Invoke environment ** Execute db:test:purge ** Execute db:test:load ** Invoke db:sc...
2008 Jul 16
2
Error when running my unit test...
...eated this story_test.rb, and when I run the ''rake test:units (selected from the GUI), I get this error: (in /data/NewOrder/Projects/ROR/shovell) ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment (first_time) ** Execute environment ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment ** Execute db:abort_if_pending_migrations ** 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 db...
2009 Nov 07
0
wrong argument type Mysql (expected Struct) running rake with Ruby 1.9 / Rails 2.3.3
...what might cause this problem? Here''s the stack trace: ~/Development/Projects/paulbarry(master)[ruby:1.9.1:p243] $ rake -- trace (in /Users/pbarry/Development/Projects/paulbarry) ** Invoke default (first_time) ** 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 db:abort_if_pending_migrations rake aborted! wrong argument type Mysql (expected Struct) /Users/pbarry/.rvm/gems/ruby/1.9.1/gems/activerecord-2.3.3/lib/ active_record/connection_adapters/mysql_adapter.rb:576:in `real_...
2010 May 28
0
Rake Aborted! db:migrate
...ull trace by running task with --trace) [/console] I do a trace and show this: [console] (in /home/distriker/Documentos/public_html/crf) ** Invoke default (first_time) ** Invoke test (first_time) ** Execute test ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:abort_if_pending_migrations !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. rake aborted! no such file to load -- mysql /usr/local/lib...