summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-08-22 14:09:28 +0200
committerJan Provaznik <jprovaznik@gitlab.com>2018-11-14 12:38:30 +0100
commit547dc7ac600d3a8dfe61035fc35e82d11bea4aee (patch)
tree232d1a27c9f716ac4c17277ae542d7ccd3ff3ee9 /Gemfile
parentc93439605bdad009754be70007c798b3d345e677 (diff)
downloadgitlab-ce-547dc7ac600d3a8dfe61035fc35e82d11bea4aee.tar.gz
Switch to Rails 5 by default
* updates Gemfile * uses Rails 5 unless explicitly disabled
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 6a644358001..19423918b38 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 = {}