[rspec-devel] [ rspec-Patches-9958 ] Rakefile change to use MySQL
noreply at rubyforge.org
noreply at rubyforge.org
Sun Apr 8 12:00:10 EDT 2007
Patches item #9958, was opened at 2007-04-08 16:00
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=9958&group_id=797
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Scott Taylor (smtlaissezfaire)
Assigned to: Nobody (None)
Summary: Rakefile change to use MySQL
Initial Comment:
As it stands right now, sqlite3 is unusable with pre_commit_rails. This has been talked about in the mailing list, so I won't add anything more. As it stands right now, one of two things must occur:
1. rails versions 1.2.1 and lower must be dropped in order to use sqlite3
2. -OR- sqlite should be dropped for the time being.
This patch does not fix the problem.
All this patch does is add two additional rake tasks:
1. setup_mysql: (copying config/database.mysql.yml to config/database.yml)
2. pre_commit_with_mysql: run pre_commit, with the setup_for_mysql task as a dependency.
This patch is mainly to address the annoyance I feel everytime I try to submit a patch. I always forget to copy that mysql file.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3151&aid=9958&group_id=797
More information about the rspec-devel
mailing list