summaryrefslogtreecommitdiff
path: root/bin/rails
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-04-05 20:35:10 -0400
committerDavid Gay <david@davidgay.org>2021-04-05 20:35:10 -0400
commitcc8742ecbc82f74d15719500c9b2f10ce53de89f (patch)
treeab9354befc3b67a33177f3f316bc5b579f15075b /bin/rails
Initial commit with license, readme, and editorconfig
Diffstat (limited to 'bin/rails')
-rwxr-xr-xbin/rails5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/rails b/bin/rails
new file mode 100755
index 0000000..21d3e02
--- /dev/null
+++ b/bin/rails
@@ -0,0 +1,5 @@
+#!/usr/bin/env ruby
+load File.expand_path("spring", __dir__)
+APP_PATH = File.expand_path('../config/application', __dir__)
+require_relative "../config/boot"
+require "rails/commands"