Skip to content

Commit b5306d3

Browse files
committed
Exec 'bin/rails app:update' for bin/rails and config/application.rb
1 parent 80c9211 commit b5306d3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

bin/rails

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env ruby
2-
APP_PATH = File.expand_path('../config/application', __dir__)
2+
APP_PATH = File.expand_path("../config/application", __dir__)
33
require_relative "../config/boot"
44
require "rails/commands"

config/application.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ class Application < Rails::Application
1111
# Initialize configuration defaults for originally generated Rails version.
1212
config.load_defaults 7.0
1313

14+
# Please, add to the `ignore` list any other `lib` subdirectories that do
15+
# not contain `.rb` files, or that should not be reloaded or eager loaded.
16+
# Common ones are `templates`, `generators`, or `middleware`, for example.
17+
config.autoload_lib(ignore: %w(assets tasks))
18+
1419
# Configuration for the application, engines, and railties goes here.
1520
#
1621
# These settings can be overridden in specific environments using the files

0 commit comments

Comments
 (0)