summaryrefslogtreecommitdiff
path: root/bin/rake
diff options
context:
space:
mode:
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 8017a02..d87d5f5 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'