[Rails] Re: Cannot run server/rake/spork/rspec or anything due to some failed tests
I just tried to run rake db:migrate:reset and I got a different error
but still some spec involved:
** Invoke db:migrate:reset (first_time)
** Invoke db:drop (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:drop
** Invoke db:create (first_time)
** Invoke db:load_config
** Execute db:create
brothelking_test already exists
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Mysql2::Error: Table 'ror_project_development.comments' doesn't exist:
SHOW FIELDS FROM `comments
...
/Users/user/Sites/ror_project/spec/factories/activity_reports.rb:21:in
`block in <top (required)>'
...
/Users/user/Sites/ror_project/config/environment.rb:5:in `<top
(required)>'
--
Posted via http://www.ruby-forum.com/.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home