Permalink
Browse files

Use the 'database' config key rather than 'dbfile' for sqlite connect…

…ions
  • Loading branch information...
1 parent 8885d5a commit ec417feaa0c61c5d677bc1bd67ffd217cec74984 @purcell committed Dec 23, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 tasks/db_console.rake
View
@@ -29,9 +29,9 @@ namespace :db do
ENV['PGPASSWORD'] = config["password"].to_s if config["password"]
system(find_cmd('psql'), '-U', config["username"], config["database"])
when "sqlite"
- system(find_cmd('sqlite'), config["dbfile"])
+ system(find_cmd('sqlite'), config["database"])
when "sqlite3"
- system(find_cmd('sqlite3'), config["dbfile"])
+ system(find_cmd('sqlite3'), config["database"])
else raise "not supported for this database type"
end
end

0 comments on commit ec417fe

Please sign in to comment.