aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates/generic_gem.rb
diff options
context:
space:
mode:
Diffstat (limited to 'guides/bug_report_templates/generic_gem.rb')
-rw-r--r--guides/bug_report_templates/generic_gem.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/guides/bug_report_templates/generic_gem.rb b/guides/bug_report_templates/generic_gem.rb
index 4dcd04ea27..0935354bf4 100644
--- a/guides/bug_report_templates/generic_gem.rb
+++ b/guides/bug_report_templates/generic_gem.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
begin
require "bundler/inline"
rescue LoadError => e
@@ -7,10 +9,14 @@ end
gemfile(true) do
source "https://rubygems.org"
+
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
+
# Activate the gem you are reporting the issue against.
- gem "activesupport", "5.1.0"
+ gem "activesupport", "5.2.0"
end
+require "active_support"
require "active_support/core_ext/object/blank"
require "minitest/autorun"