diff options
Diffstat (limited to 'bin/rails')
| -rwxr-xr-x | bin/rails | 16 |
1 files changed, 3 insertions, 13 deletions
| diff --git a/bin/rails b/bin/rails index 056c65f..efc0377 100755 --- a/bin/rails +++ b/bin/rails | |||
| @@ -1,14 +1,4 @@ | |||
| 1 | #!/usr/bin/env ruby | 1 | #!/usr/bin/env ruby |
| 2 | # This command will automatically be run when you run "rails" with Rails gems | 2 | APP_PATH = File.expand_path("../config/application", __dir__) |
| 3 | # installed from the root of your application. | 3 | require_relative "../config/boot" |
| 4 | 4 | require "rails/commands" | |
| 5 | ENGINE_ROOT = File.expand_path("..", __dir__) | ||
| 6 | ENGINE_PATH = File.expand_path("../lib/pokeviewer/engine", __dir__) | ||
| 7 | APP_PATH = File.expand_path("../test/dummy/config/application", __dir__) | ||
| 8 | |||
| 9 | # Set up gems listed in the Gemfile. | ||
| 10 | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__) | ||
| 11 | require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"]) | ||
| 12 | |||
| 13 | require "rails/all" | ||
| 14 | require "rails/engine/commands" | ||
