about summary refs log tree commit diff stats
path: root/bin/rails
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-30 13:29:08 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-30 13:29:08 -0500
commit0929719a845897cc8567cf972e07a69a71f0fa6f (patch)
tree2b6f69c1d906abb6e0abf8a0f1d51725bc78087d /bin/rails
parent01c1947537e4e23ded0c16812a7cd9d49ad88356 (diff)
downloadwittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.gz
wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.bz2
wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.zip
Migrate to a full rails app
Diffstat (limited to 'bin/rails')
-rwxr-xr-xbin/rails16
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 2APP_PATH = File.expand_path("../config/application", __dir__)
3# installed from the root of your application. 3require_relative "../config/boot"
4 4require "rails/commands"
5ENGINE_ROOT = File.expand_path("..", __dir__)
6ENGINE_PATH = File.expand_path("../lib/wittle/engine", __dir__)
7APP_PATH = File.expand_path("../test/dummy/config/application", __dir__)
8
9# Set up gems listed in the Gemfile.
10ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
11require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
12
13require "rails/all"
14require "rails/engine/commands"