about summary refs log tree commit diff stats
path: root/bin
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-27 23:51:23 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-27 23:51:23 -0400
commitd09db2d6d0727faba8e5078900f2fbd1e18ea49f (patch)
tree978edaa0c321477d3c04f515cd13da0051a5459f /bin
parent75a7c7131f6c9a6d80d16055130609eb97f37dfd (diff)
downloadwittle-d09db2d6d0727faba8e5078900f2fbd1e18ea49f.tar.gz
wittle-d09db2d6d0727faba8e5078900f2fbd1e18ea49f.tar.bz2
wittle-d09db2d6d0727faba8e5078900f2fbd1e18ea49f.zip
it's an engine now!
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rails14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/rails b/bin/rails new file mode 100755 index 0000000..dc13199 --- /dev/null +++ b/bin/rails
@@ -0,0 +1,14 @@
1#!/usr/bin/env ruby
2# This command will automatically be run when you run "rails" with Rails gems
3# installed from the root of your application.
4
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"