Include all "supported" databases in our bundle

It's not really nice to force people to change Gemfile which is
under SCM control. This also enables us to make the database
adapter configurable.
This commit is contained in:
Henne Vogelsang 2018-09-05 01:53:54 +02:00
parent 1a502417f9
commit cae610ecf0
2 changed files with 7 additions and 5 deletions

10
Gemfile
View file

@ -24,10 +24,12 @@ gem 'rails_12factor', group: :production
# http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#responders # http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#responders
gem 'responders', '~> 2.0' gem 'responders', '~> 2.0'
# as the database for Active Record # as supported databases
# choose only one # WARNING: please refrain from using sqlite for anything serious as it is not
# performant enough
gem 'mysql2' gem 'mysql2'
# gem 'pg' gem 'pg'
gem 'sqlite3'
# for tracking data changes # for tracking data changes
gem 'paper_trail' gem 'paper_trail'
@ -239,8 +241,6 @@ group :development do
# for static code analisys # for static code analisys
gem 'rubocop', require: false gem 'rubocop', require: false
gem 'rubocop-rspec' gem 'rubocop-rspec'
# as database
gem 'sqlite3'
# to open mails # to open mails
gem 'letter_opener' gem 'letter_opener'
# to open mails in browser # to open mails in browser

View file

@ -342,6 +342,7 @@ GEM
parser (2.5.1.2) parser (2.5.1.2)
ast (~> 2.4.0) ast (~> 2.4.0)
pdf-core (0.2.5) pdf-core (0.2.5)
pg (1.1.2)
phantomjs (2.1.1.0) phantomjs (2.1.1.0)
piwik_analytics (1.0.2) piwik_analytics (1.0.2)
actionpack actionpack
@ -653,6 +654,7 @@ DEPENDENCIES
omniauth-google-oauth2 omniauth-google-oauth2
omniauth-openid omniauth-openid
paper_trail paper_trail
pg
phantomjs phantomjs
piwik_analytics (~> 1.0.1) piwik_analytics (~> 1.0.1)
poltergeist poltergeist