summaryrefslogtreecommitdiff
path: root/bin/rake
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-11-07 21:09:42 +0100
committerJan Provaznik <jprovaznik@gitlab.com>2018-11-14 12:41:16 +0100
commit48b59620c1f17cae7c88db8d08bba502f47bd144 (patch)
tree56800696ca441474b075157b695e49db05339113 /bin/rake
parentcb5506565ca591e3c979350c38021e8b7ea03add (diff)
downloadgitlab-ce-48b59620c1f17cae7c88db8d08bba502f47bd144.tar.gz
Make rails5 defailt in bin/* scripts
Diffstat (limited to 'bin/rake')
-rwxr-xr-xbin/rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rake b/bin/rake
index b52a8321f1a..1362d51e3d6 100755
--- a/bin/rake
+++ b/bin/rake
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
# Remove this block when upgraded to rails 5.0.
-unless %w[1 true].include?(ENV["RAILS5"])
+if %w[0 false].include?(ENV["RAILS5"])
begin
load File.expand_path('../spring', __FILE__)
rescue LoadError => e