$ bundle exe c rails webpacker: установить Стек вызовов: /home/vinyas/Myridz/new-pro/app/controllers/application_controller.rb:1:in <top (required)>'
/home/vinyas/Myridz/new-pro/config/initializers/application_controller_renderer.rb:4:in
блок в /home/vinyas/Myridz/new-pro/config/environment.rb:5:in <top (required)>'
/home/vinyas/Myridz/new-pro/bin/rails:9:in
'/ home / vinyas / Myridz / new-pro / bin / spring: 15: in require'
/home/vinyas/Myridz/new-pro/bin/spring:15:in
' ./bin/rails:3:in load'
./bin/rails:3:in
'Задачи: TOP => app: template => environment
application.rb
require 'rails/all'
Bundler.require(*Rails.groups)
module NewGrocoon
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 5.2
# Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading
# the framework and any gems in your application.
end
end
application_controller.rb
class ApplicationController < ActionController::Base
end
environment.rb
# Load the Rails application.
require_relative 'application'
# Initialize the Rails application.
Rails.application.initialize!