[Rails] Re: rake db:test:clone_structure and related tasks fail
rake aborted! wrong number of arguments (2 for 1) /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake: 344:in `recreate_database' Thanks! Thomas do you have test database created ? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: rake db:test:clone_structure and related tasks fail
On Aug 28, 3:23 am, Nik Cool rails-mailing-l...@andreas-s.net wrote: rake aborted! wrong number of arguments (2 for 1) /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake: 344:in `recreate_database' Thanks! Thomas do you have test database created ? -- Posted viahttp://www.ruby-forum.com/. Yep, I do. I tried it with the MySQL test db initially (user: test, pw: ) and that failed with the same error. I'm able to connect to either database both via the MySQL client and Ruby. Thomas --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---
[Rails] Re: rake db:test:clone_structure and related tasks fail
It appears that this is coming from my installed lib/mysql_adapter.rb which has an incorrect signature for recreate_database (and probably for other methods as well), so I think I have what I need to solve the problem now. Thomas On Aug 28, 9:50 am, Thomas Allen thomasmal...@gmail.com wrote: On Aug 28, 3:23 am, Nik Cool rails-mailing-l...@andreas-s.net wrote: rake aborted! wrong number of arguments (2 for 1) /usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake: 344:in `recreate_database' Thanks! Thomas do you have test database created ? -- Posted viahttp://www.ruby-forum.com/. Yep, I do. I tried it with the MySQL test db initially (user: test, pw: ) and that failed with the same error. I'm able to connect to either database both via the MySQL client and Ruby. Thomas --~--~-~--~~~---~--~~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~--~~~~--~~--~--~---