Skip to content

Commit 346025f

Browse files
committed
Configurable gem pg version
Signed-off-by: Ko Nagase <[email protected]>
1 parent 95ec614 commit 346025f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ gem 'immutable-struct'
55
gem "rgeo"
66
gem "rgeo-geojson"
77
gem "rgeo-activerecord"
8-
gem "pg", "~> 1.0.0" # make sure we use a version compatible with AR
8+
gem "pg", (ENV['GEM_PG_VERSION'] ? "~> #{ENV['GEM_PG_VERSION']}" : "~> 1.0.0") # make sure we use a version compatible with AR
99
gem 'activerecord-postgis-adapter'
1010
gem 'rails-controller-testing' # This gem brings back assigns to your controller tests as well as assert_template to both controller and integration tests.

0 commit comments

Comments
 (0)