summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2018-11-14 14:01:14 +0000
committerSean McGivern <sean@mcgivern.me.uk>2018-11-14 14:01:14 +0000
commitaf3a73ef9c5a2035b9dea594b963c8029a9fd381 (patch)
treed92cb6e8044ea1464e2e1c147d8ec270c1436818 /Gemfile
parent28e3a90be82ac4365195a2cd96095fbd5e1b5c2c (diff)
parentf6d368c74854be15b2783d8ff08e40f510e3d976 (diff)
downloadgitlab-ce-af3a73ef9c5a2035b9dea594b963c8029a9fd381.tar.gz
Merge branch 'switch-rails' into 'master'
Switch to Rails 5 Closes #14286 and #48991 See merge request gitlab-org/gitlab-ce!21492
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index fdadea8c658..7030bd9c5e8 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,6 @@
# --- Special code for migrating to Rails 5.0 ---
def rails5?
- %w[1 true].include?(ENV["RAILS5"])
+ !%w[0 false].include?(ENV["RAILS5"])
end
gem_versions = {}