From e5a03e4da6bbbb22d8595ddddd3af25078ae816c Mon Sep 17 00:00:00 2001 From: Ken Toler Date: Sat, 29 Feb 2020 18:52:33 -0500 Subject: [PATCH] pg update and config.hosts --- Gemfile | 4 ++++ config/environments/development.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index b18b64c..a64ebad 100644 --- a/Gemfile +++ b/Gemfile @@ -60,3 +60,7 @@ end group :mysql do gem "mysql2" end + +group :openshift do + gem "pg" +end diff --git a/config/environments/development.rb b/config/environments/development.rb index 5196727..da2a271 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true Railsgoat::Application.configure do # Settings specified here will take precedence over those in config/application.rb - + config.hosts << '.svc.cluster.local' # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the web server when you make code changes.