rails 515 B

12345678910111213141516
  1. #!/usr/bin/env ruby
  2. # frozen_string_literal: true
  3. # This command will automatically be run when you run "rails" with Rails gems
  4. # installed from the root of your application.
  5. ENGINE_ROOT = File.expand_path("..", __dir__)
  6. ENGINE_PATH = File.expand_path("../lib/rails-settings/railtie", __dir__)
  7. # Set up gems listed in the Gemfile.
  8. ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
  9. require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
  10. require "rails/all"
  11. require "rails/engine/commands"