aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code
diff options
context:
space:
mode:
authorlaurocaetano <laurocaetano1@gmail.com>2013-11-01 18:15:53 -0200
committerlaurocaetano <laurocaetano1@gmail.com>2013-11-01 18:15:53 -0200
commitd48222d22ef576c1b429ec2321c712bc221698d7 (patch)
treed9c8641b6989e5405d07799d88fe21ee344898ca /guides/code
parenta221b30b3fb309f1edfa0c330fd57c1efaadd509 (diff)
downloadrails-d48222d22ef576c1b429ec2321c712bc221698d7.tar.gz
rails-d48222d22ef576c1b429ec2321c712bc221698d7.tar.bz2
rails-d48222d22ef576c1b429ec2321c712bc221698d7.zip
remove warnings on ruby trunk
Diffstat (limited to 'guides/code')
-rw-r--r--guides/code/getting_started/config/boot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/code/getting_started/config/boot.rb b/guides/code/getting_started/config/boot.rb
index 3596736667..5e5f0c1fac 100644
--- a/guides/code/getting_started/config/boot.rb
+++ b/guides/code/getting_started/config/boot.rb
@@ -1,4 +1,4 @@
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
+require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])