diff options
author | Teddy Wing | 2017-02-03 19:50:40 +0100 |
---|---|---|
committer | Teddy Wing | 2017-02-03 19:50:40 +0100 |
commit | 0c4c9d3d1e91529c4bb9b4b410293f3c38756e6a (patch) | |
tree | 993636b721c1d196784eb311bf86dd36e16adf50 /bin/rails | |
download | Angular-tutorial-0c4c9d3d1e91529c4bb9b4b410293f3c38756e6a.tar.bz2 |
Initial commit. Base Rails 5.0.1 project.
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 @@ +#!/usr/bin/env ruby +begin + load File.expand_path('../spring', __FILE__) +rescue LoadError => e + raise unless e.message.include?('spring') +end +APP_PATH = File.expand_path('../config/application', __dir__) +require_relative '../config/boot' +require 'rails/commands' |