diff options
author | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-12-07 19:15:06 +0100 |
---|---|---|
committer | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-12-14 19:36:22 +0100 |
commit | 44fef4fe4cb9d4f30f129ff5a548395bc924c8fe (patch) | |
tree | ac5e97a16658edfb25b8407f1cf2d9a11c172667 /config/boot.rb | |
parent | eafc8e2f481751b973260287c844b70bd408dcb2 (diff) | |
download | gitlab-ce-44fef4fe4cb9d4f30f129ff5a548395bc924c8fe.tar.gz |
Remove rails 4 support in CI, Gemfiles, bin/ and config/
Diffstat (limited to 'config/boot.rb')
-rw-r--r-- | config/boot.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/config/boot.rb b/config/boot.rb index 725473ac7f6..2811f0e6188 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,11 +1,4 @@ -def rails5? - !%w[0 false].include?(ENV["RAILS5"]) -end - -require 'rubygems' unless rails5? - -gemfile = rails5? ? "Gemfile" : "Gemfile.rails4" -ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../#{gemfile}", __dir__) +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) # Set up gems listed in the Gemfile. require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) |