diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-17 16:40:28 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-17 16:54:55 +0200 |
commit | 7b523eb1a144fe87e4ce12c3a611b5648ebd93cb (patch) | |
tree | a28ddbe9c31142b3e5868dc3abf2ac7423769aef /bin/spring | |
parent | d1157238f9b70ef1ccc4fd25e32b584380aa7e7d (diff) | |
download | gitlab-ce-7b523eb1a144fe87e4ce12c3a611b5648ebd93cb.tar.gz |
Use ENABLE_SPRING to use it by defaultmake-spring-optional
Diffstat (limited to 'bin/spring')
-rwxr-xr-x | bin/spring | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spring b/bin/spring index 7fe232c3aae..e0d140fe0c7 100755 --- a/bin/spring +++ b/bin/spring @@ -3,7 +3,7 @@ # This file loads spring without using Bundler, in order to be fast. # It gets overwritten when you run the `spring binstub` command. -unless defined?(Spring) +unless (defined?(Spring) || ENV['ENABLE_SPRING'] != '1') && File.basename($0) != 'spring' require 'rubygems' require 'bundler' |