diff options
Diffstat (limited to 'bin/rails')
| -rwxr-xr-x | bin/rails | 9 |
1 files changed, 9 insertions, 0 deletions
| diff --git a/bin/rails b/bin/rails new file mode 100755 index 0000000..5badb2f --- /dev/null +++ b/bin/rails | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #!/usr/bin/env ruby | ||
| 2 | begin | ||
| 3 | load File.expand_path('../spring', __FILE__) | ||
| 4 | rescue LoadError => e | ||
| 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' | ||
