diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-24 14:20:22 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-24 14:20:22 -0400 |
| commit | 5581530930129d7854ed5d99d058939ad9c790c2 (patch) | |
| tree | 157515f64b34a86e0f6d33dc641e06a7ecc2982c /bin/rails | |
| download | thoughts-5581530930129d7854ed5d99d058939ad9c790c2.tar.gz thoughts-5581530930129d7854ed5d99d058939ad9c790c2.tar.bz2 thoughts-5581530930129d7854ed5d99d058939ad9c790c2.zip | |
Initial commit
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' | ||
