diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-30 13:29:08 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-30 13:29:08 -0500 |
| commit | 0929719a845897cc8567cf972e07a69a71f0fa6f (patch) | |
| tree | 2b6f69c1d906abb6e0abf8a0f1d51725bc78087d /bin/rails | |
| parent | 01c1947537e4e23ded0c16812a7cd9d49ad88356 (diff) | |
| download | wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.gz wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.bz2 wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.zip | |
Migrate to a full rails app
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 dc13199..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/wittle/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" | ||
