title: Error loading the 'postgresql' Active Record adapter. Missing a gem it depends on? pg is not part of the bundle. Add it to your Gemfile
body: <p><strong>Gemfile</strong></p>
  
  <pre><code>source 'https://rubygems.org'
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
  Ruby '2.3.3'
  gem 'rails', '~&gt; 5.2.1'
  gem 'bootstrap-sass', '3.3.7'
  gem 'puma', '~&gt; 3.11'
  gem 'sass-rails', '~&gt; 5.0'
  gem 'uglifier', '&gt;= 1.3.0'
  gem 'duktape'
  gem 'coffee-rails', '~&gt; 4.2'
  gem 'turbolinks', '~&gt; 5'
  gem 'jbuilder', '~&gt; 2.5'
  #gem 'redis', '~&gt; 4.0'
  gem 'bcrypt', '3.1.12'
  #gem 'mini_magick', '~&gt; 4.8'
  #gem 'capistrano-rails', group: :development
  gem 'bootsnap', '&gt;= 1.1.0', require: false
  group :development, :test do
  end
  gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
  end
  group :development do
  gem 'web-console', '&gt;= 3.3.0'
  end
  group :test do
  gem 'rails-controller-testing', '1.0.2'
  gem 'minitest',                 '5.10.3'
  gem 'minitest-reporters',       '1.1.14'
  gem 'guard',                    '2.13.0'
  gem 'guard-minitest',           '2.4.4'
  gem 'capybara', '&gt;= 2.15'
  gem 'selenium-webdriver'
  gem 'chromedriver-helper'
  end
  group :production do
  gem 'pg', '0.18.4'
  end
  gem 'tzinfo-data', platforms: [:mingw,:mswin,:x64_mingw, :jruby]
  
      source 'https://rubygems.org'
  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
  uby '2.3.3'
  gem 'rails', '~&gt; 5.2.1'
  gem 'bootstrap-sass', '3.3.7'
  gem 'puma', '~&gt; 3.11'
  gem 'sass-rails', '~&gt; 5.0'
  gem 'uglifier', '&gt;= 1.3.0'
  gem 'duktape'
  gem 'coffee-rails', '~&gt; 4.2'
  gem 'turbolinks', '~&gt; 5'
  gem 'jbuilder', '~&gt; 2.5'
  #gem 'redis', '~&gt; 4.0'
  gem 'bcrypt', '3.1.12'
  #gem 'mini_magick', '~&gt; 4.8'
  #gem 'capistrano-rails', group: :development
  gem 'bootsnap', '&gt;= 1.1.0', require: false
  group :development, :test do
  end
  gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
  end
  group :development do
  gem 'web-console', '&gt;= 3.3.0'
  end
  group :test do
  gem 'rails-controller-testing', '1.0.2'
  gem 'minitest',                 '5.10.3'
  gem 'minitest-reporters',       '1.1.14'
  gem 'guard',                    '2.13.0'
  gem 'guard-minitest',           '2.4.4'
  gem 'capybara', '&gt;= 2.15'
  gem 'selenium-webdriver'
  gem 'chromedriver-helper'
  end
  group :production do
  gem 'pg', '0.18.4'
  end
  gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  </code></pre>