diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 09:29:30 -0500 |
commit | 0380a97230023a78ad08b738c4520e901485ed63 (patch) | |
tree | 2f3b4e91453962fd5bb36cf652c808cb7f41c3a7 /rails/bin | |
parent | 6af7b09fa551c6cc980bb54fefd1db88c904654f (diff) | |
download | lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.gz lingo-0380a97230023a78ad08b738c4520e901485ed63.tar.bz2 lingo-0380a97230023a78ad08b738c4520e901485ed63.zip |
Added Rails engine for scoreboard
refs #13
Diffstat (limited to 'rails/bin')
-rwxr-xr-x | rails/bin/rails | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/rails/bin/rails b/rails/bin/rails new file mode 100755 index 0000000..f8b09bd --- /dev/null +++ b/rails/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 | |||
5 | ENGINE_ROOT = File.expand_path("..", __dir__) | ||
6 | ENGINE_PATH = File.expand_path("../lib/lingo/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" | ||