use postgresql for production
Showing
with
8 additions
and
2 deletions
... | @@ -3,8 +3,7 @@ source 'https://rubygems.org' | ... | @@ -3,8 +3,7 @@ source 'https://rubygems.org' |
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | ||
gem 'rails', '5.1.1' | gem 'rails', '5.1.1' | ||
# Use sqlite3 as the database for Active Record | |||
gem 'sqlite3' | |||
# Use SCSS for stylesheets | # Use SCSS for stylesheets | ||
gem 'sass-rails', '~> 5.0' | gem 'sass-rails', '~> 5.0' | ||
# Use Uglifier as compressor for JavaScript assets | # Use Uglifier as compressor for JavaScript assets | ||
... | @@ -64,6 +63,8 @@ end | ... | @@ -64,6 +63,8 @@ end |
group :local, :development, :test do | group :local, :development, :test do | ||
gem 'factory_girl_rails' | gem 'factory_girl_rails' | ||
gem 'faker' | gem 'faker' | ||
# Use sqlite3 as the database for Active Record | |||
gem 'sqlite3' | |||
end | end | ||
# NOTE: install mailcatcher for development | # NOTE: install mailcatcher for development | ||
... | @@ -79,3 +80,8 @@ end | ... | @@ -79,3 +80,8 @@ end |
group :test do | group :test do | ||
gem 'simplecov', :require => false | gem 'simplecov', :require => false | ||
end | end | ||
group :production do | |||
# Use postgresql as the database for Active Record | |||
gem 'pg' | |||
end |
Please
register
or
sign in
to comment