Mercurial > zeropaste
diff config/boot.rb @ 431:68eb23b52864
Rails 5 \o/
author | nanaya <me@myconan.net> |
---|---|
date | Fri, 13 May 2016 03:56:07 +0900 |
parents | a999250e57c4 |
children | fd3078b4d355 |
line wrap: on
line diff
--- a/config/boot.rb Tue Mar 01 16:36:10 2016 +0900 +++ b/config/boot.rb Fri May 13 03:56:07 2016 +0900 @@ -1,6 +1,3 @@ -require "rubygems" +ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) -# Set up gems listed in the Gemfile. -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__) - -require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"]) +require "bundler/setup" # Set up gems listed in the Gemfile.