aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates/action_controller_gem.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-06-05 19:29:30 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-06-05 19:29:30 -0300
commiteb460725f4a4105b1765a2f917d25b9e709fceb7 (patch)
tree24943e55d2e5f5aaaac701a552bb1536ff8ae251 /guides/bug_report_templates/action_controller_gem.rb
parent91ed77805d9c339be1c273b1ba2d3949ee9081f0 (diff)
parent89550bc1a06d3fda27f03b19ec8af6531372e0e9 (diff)
downloadrails-eb460725f4a4105b1765a2f917d25b9e709fceb7.tar.gz
rails-eb460725f4a4105b1765a2f917d25b9e709fceb7.tar.bz2
rails-eb460725f4a4105b1765a2f917d25b9e709fceb7.zip
Merge pull request #20452 from repinel/add-bug-report-templates-to-ci
Add the bug report templates to the Travis CI build
Diffstat (limited to 'guides/bug_report_templates/action_controller_gem.rb')
-rw-r--r--guides/bug_report_templates/action_controller_gem.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/guides/bug_report_templates/action_controller_gem.rb b/guides/bug_report_templates/action_controller_gem.rb
index 032e6bfe11..5b12749051 100644
--- a/guides/bug_report_templates/action_controller_gem.rb
+++ b/guides/bug_report_templates/action_controller_gem.rb
@@ -1,7 +1,11 @@
-# Activate the gem you are reporting the issue against.
-gem 'rails', '4.2.0'
+require 'bundler/inline'
+
+gemfile(true) do
+ source 'https://rubygems.org'
+ # Activate the gem you are reporting the issue against.
+ gem 'rails', '4.2.0'
+end
-require 'rails'
require 'rack/test'
require 'action_controller/railtie'