mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #10666 from YanhaoYang/master
Make "rails dbconsole" work with activerecord-postgis-adapter
This commit is contained in:
commit
51a5e90658
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ module Rails
|
|||
|
||||
find_cmd_and_exec(['mysql', 'mysql5'], *args)
|
||||
|
||||
when "postgresql", "postgres"
|
||||
when "postgresql", "postgres", "postgis"
|
||||
ENV['PGUSER'] = config["username"] if config["username"]
|
||||
ENV['PGHOST'] = config["host"] if config["host"]
|
||||
ENV['PGPORT'] = config["port"].to_s if config["port"]
|
||||
|
|
Loading…
Reference in a new issue