Sha256: df2c80a461be3391d33ca5fe12280c774484b1dc4995036502badbe68d623c81

Contents?: true

Size: 1.29 KB

Versions: 18

Compression:

Stored size: 1.29 KB

Contents

# 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/<%= namespaced_name -%>/engine", __dir__)
<% if with_dummy_app? -%>
APP_PATH = File.expand_path("../<%= dummy_path -%>/config/application", __dir__)
<% end -%>

# Set up gems listed in the Gemfile.
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])

<% if include_all_railties? -%>
require "rails/all"
<% else -%>
require "rails"
# Pick the frameworks you want:
require "active_model/railtie"
<%= comment_if :skip_active_job %>require "active_job/railtie"
<%= comment_if :skip_active_record %>require "active_record/railtie"
<%= comment_if :skip_active_storage %>require "active_storage/engine"
require "action_controller/railtie"
<%= comment_if :skip_action_mailer %>require "action_mailer/railtie"
<%= comment_if :skip_action_mailbox %>require "action_mailbox/engine"
<%= comment_if :skip_action_text %>require "action_text/engine"
require "action_view/railtie"
<%= comment_if :skip_action_cable %>require "action_cable/engine"
<%= comment_if :skip_test %>require "rails/test_unit/railtie"
<% end -%>
require "rails/engine/commands"

Version data entries

18 entries across 17 versions & 4 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.6/lib/rails/generators/rails/plugin/templates/bin/rails.tt
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.7/lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.8.7 lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.8.6 lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.8.5 lib/rails/generators/rails/plugin/templates/bin/rails.tt
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/railties-7.0.8.4/lib/rails/generators/rails/plugin/templates/bin/rails.tt
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/generators/rails/plugin/templates/bin/rails.tt
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/generators/rails/plugin/templates/bin/rails.tt
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.8.4 lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.8.1 lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.8 lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.7.2 lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.7.1 lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.7 lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.6 lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.5.1 lib/rails/generators/rails/plugin/templates/bin/rails.tt
railties-7.0.5 lib/rails/generators/rails/plugin/templates/bin/rails.tt