lib/jets/commands/templates/skeleton/Gemfile.tt in jets-0.10.4 vs lib/jets/commands/templates/skeleton/Gemfile.tt in jets-1.0.0

- old
+ new

@@ -4,12 +4,15 @@ <% if @webpacker -%> # Include webpacker if you are you are building html pages gem "webpacker", git: "https://github.com/tongueroo/webpacker.git", branch: "jets" <% end -%> -<% if @options[:database] %> +<% if @options[:database] == 'postgresql' %> # Include pg gem if you are using ActiveRecord, remove if you are not -gem "pg", "~> 0.21" +gem "pg", "~> 1.1.3" +<% elsif @options[:database] == 'mysql' %> +# Include mysql2 gem if you are using ActiveRecord, remove if you are not +gem "mysql2", "~> 0.5.2" <% end %> group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]