Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10666 from YanhaoYang/master

Make "rails dbconsole" work with activerecord-postgis-adapter
  • Loading branch information...
commit 51a5e906581351484489088d16ae5870d156c1d5 2 parents 37bacd3 + 2f35f61
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/commands/dbconsole.rb
2  railties/lib/rails/commands/dbconsole.rb
@@ -44,7 +44,7 @@ def start
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"]
Please sign in to comment.
Something went wrong with that request. Please try again.