Skip to content

Commit

Permalink
Use the 'database' config key rather than 'dbfile' for sqlite connect…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
purcell committed Dec 23, 2007
1 parent 8885d5a commit ec417fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/db_console.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec417fe

Please sign in to comment.