diff --git a/.gitignore b/.gitignore index 9dde67bb..c29faad2 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,7 @@ config/deploy/config/* # Ignore Byebug command history file. .byebug_history + +# Gem files +Gemfile +Gemfile.lock \ No newline at end of file diff --git a/Gemfile b/Gemfile index 23f3c908..bcdb0ab0 100644 --- a/Gemfile +++ b/Gemfile @@ -15,6 +15,9 @@ gem 'mysql2', '>= 0.3.18', '< 0.5' # redis server for cable gem 'redis', '~> 3.0' +#gem pg for +gem 'pg' + # Use Puma as the app server gem 'puma', '~> 3.0' # Use SCSS for stylesheets diff --git a/Gemfile.lock b/Gemfile.lock index 46cdc6ea..1942950c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -101,6 +101,7 @@ GEM nokogiri (1.7.2) mini_portile2 (~> 2.1.0) pdf-core (0.7.0) + pg (0.20.0) prawn (2.2.2) pdf-core (~> 0.7.0) ttfunk (~> 1.5) @@ -232,7 +233,7 @@ DEPENDENCIES jbuilder (~> 2.5) jquery-rails listen (~> 3.0.5) - mysql2 (>= 0.3.18, < 0.5) + pg prawn prawn-table puma (~> 3.0)