X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6d59a122ead9e2cc7d340ba6ec13cfdc250e1e5e..eb8d7be916f82ba43a9fb0fce661489bc04ff4ae:/config/boot.rb diff --git a/config/boot.rb b/config/boot.rb index 4489e5868..fb24cf2ed 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,6 +1,3 @@ -require 'rubygems' +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__) -# 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" # Set up gems listed in the Gemfile.