mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 11:18:08 +00:00
- Create mountable engine with isolated namespace - Configure Pundit authorization - Set up gemspec with dependencies - Configure generators for test_unit with fixtures
15 lines
554 B
Ruby
Executable File
15 lines
554 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
# This command will automatically be run when you run "rails" with Rails gems
|
|
# installed from the root of your application.
|
|
|
|
ENGINE_ROOT = File.expand_path("..", __dir__)
|
|
ENGINE_PATH = File.expand_path("../lib/break_escape/engine", __dir__)
|
|
APP_PATH = File.expand_path("../test/dummy/config/application", __dir__)
|
|
|
|
# Set up gems listed in the Gemfile.
|
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
|
|
|
|
require "rails/all"
|
|
require "rails/engine/commands"
|