Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-08-22 15:09:28 +0300
committerJan Provaznik <jprovaznik@gitlab.com>2018-11-14 14:38:30 +0300
commit547dc7ac600d3a8dfe61035fc35e82d11bea4aee (patch)
tree232d1a27c9f716ac4c17277ae542d7ccd3ff3ee9 /Gemfile
parentc93439605bdad009754be70007c798b3d345e677 (diff)
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 = {}