summaryrefslogtreecommitdiff
path: root/bin
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 /bin
parentc93439605bdad009754be70007c798b3d345e677 (diff)
downloadgitlab-ce-547dc7ac600d3a8dfe61035fc35e82d11bea4aee.tar.gz
Switch to Rails 5 by default
* updates Gemfile * uses Rails 5 unless explicitly disabled
Diffstat (limited to 'bin')
-rwxr-xr-xbin/setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/setup b/bin/setup
index ec1ebe02950..34bb667087a 100755
--- a/bin/setup
+++ b/bin/setup
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
def rails5?
- %w[1 true].include?(ENV["RAILS5"])
+ !%w[0 false].include?(ENV["RAILS5"])
end
require "pathname"