diff options
Diffstat (limited to 'bin/rails')
-rwxr-xr-x | bin/rails | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/bin/rails b/bin/rails index 5badb2f..efc0377 100755 --- a/bin/rails +++ b/bin/rails | |||
@@ -1,9 +1,4 @@ | |||
1 | #!/usr/bin/env ruby | 1 | #!/usr/bin/env ruby |
2 | begin | 2 | APP_PATH = File.expand_path("../config/application", __dir__) |
3 | load File.expand_path('../spring', __FILE__) | 3 | require_relative "../config/boot" |
4 | rescue LoadError => e | 4 | require "rails/commands" |
5 | raise unless e.message.include?('spring') | ||
6 | end | ||
7 | APP_PATH = File.expand_path('../config/application', __dir__) | ||
8 | require_relative '../config/boot' | ||
9 | require 'rails/commands' | ||