lib/tapioca/loaders/loader.rb in tapioca-0.10.4 vs lib/tapioca/loaders/loader.rb in tapioca-0.10.5
- old
+ new
@@ -45,12 +45,15 @@
require "./#{app_root}/config/application"
end
eager_load_rails_app if eager_load
rescue LoadError, StandardError => e
- say("Tapioca attempted to load the Rails application after encountering a `config/application.rb` file, " \
- "but it failed. If your application uses Rails please ensure it can be loaded correctly before generating " \
- "RBIs.\n#{e}", :yellow)
+ say(
+ "Tapioca attempted to load the Rails application after encountering a `config/application.rb` file, " \
+ "but it failed. If your application uses Rails please ensure it can be loaded correctly before " \
+ "generating RBIs.\n#{e}",
+ :yellow,
+ )
say("Continuing RBI generation without loading the Rails application.")
end
sig { void }
def load_rails_engines