aboutsummaryrefslogtreecommitdiffstats
path: root/bin/rake
diff options
context:
space:
mode:
authorRobert2017-06-26 12:41:57 +0200
committerRobert2017-06-26 12:41:57 +0200
commit6c10034434d5855dfb1e6c5165880b4df0bcf1b4 (patch)
tree9e94809b06303da33459126c78f88121700ffb1f /bin/rake
parentb059fe0ecaf76b9ae211e927a42c1bed3fcfa8bb (diff)
downloadchouette-core-6c10034434d5855dfb1e6c5165880b4df0bcf1b4.tar.bz2
spring stubs created (spring stop needed); Fixes: #3874@1h
Diffstat (limited to 'bin/rake')
-rwxr-xr-xbin/rake5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/rake b/bin/rake
index 8017a0271..d87d5f578 100755
--- a/bin/rake
+++ b/bin/rake
@@ -1,7 +1,8 @@
#!/usr/bin/env ruby
begin
- load File.expand_path("../spring", __FILE__)
-rescue LoadError
+ load File.expand_path('../spring', __FILE__)
+rescue LoadError => e
+ raise unless e.message.include?('spring')
end
require_relative '../config/boot'
require 'rake'