diff options
Diffstat (limited to 'guides/bug_report_templates/action_controller_master.rb')
-rw-r--r-- | guides/bug_report_templates/action_controller_master.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/bug_report_templates/action_controller_master.rb b/guides/bug_report_templates/action_controller_master.rb index 375ed9bc5d..5d88749118 100644 --- a/guides/bug_report_templates/action_controller_master.rb +++ b/guides/bug_report_templates/action_controller_master.rb @@ -1,4 +1,4 @@ -unless File.exists?('Gemfile') +unless File.exist?('Gemfile') File.write('Gemfile', <<-GEMFILE) source 'https://rubygems.org' gem 'rails', github: 'rails/rails' @@ -48,4 +48,4 @@ class BugTest < Minitest::Test def app Rails.application end -end
\ No newline at end of file +end |