diff options
| author | Robert | 2017-06-26 12:41:57 +0200 |
|---|---|---|
| committer | Robert | 2017-06-26 12:41:57 +0200 |
| commit | 6c10034434d5855dfb1e6c5165880b4df0bcf1b4 (patch) | |
| tree | 9e94809b06303da33459126c78f88121700ffb1f /bin | |
| parent | b059fe0ecaf76b9ae211e927a42c1bed3fcfa8bb (diff) | |
| download | chouette-core-6c10034434d5855dfb1e6c5165880b4df0bcf1b4.tar.bz2 | |
spring stubs created (spring stop needed); Fixes: #3874@1h
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/rails | 5 | ||||
| -rwxr-xr-x | bin/rake | 5 |
2 files changed, 6 insertions, 4 deletions
@@ -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 APP_PATH = File.expand_path('../../config/application', __FILE__) require_relative '../config/boot' @@ -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' |
