David

Joined

860 Experience
8 Lessons Completed
0 Questions Solved

Activity

It's not a Hatchbox-related issue but a MissionControl Jobs gem.

https://github.com/basecamp/mission_control-jobs/issues/42

I started migrating the application from Heroku to AWS using Hatchbox. The deployment was successful. But when I tried accessing the rails console, I'm getting a NameError.

/home/deploy/app-stg/shared/bundle/ruby/3.3.0/gems/irb-1.11.2/lib/irb/workspace.rb:9:in `<main>': uninitialized constant IRB (NameError)

IRB::TOPLEVEL_BINDING = binding
^^^
Did you mean?  ERB
    from /home/deploy/app-stg/shared/bundle/ruby/3.3.0/gems/irb-1.11.2/lib/irb/context.rb:7:in `require_relative'
    from /home/deploy/app-stg/shared/bundle/ruby/3.3.0/gems/irb-1.11.2/lib/irb/context.rb:7:in `<main>'
    from /home/deploy/app-stg/shared/bundle/ruby/3.3.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
...

Ruby: 3.3.0
Rails: 7.1.3

irb works correctly. Only rails console fails.

Has anyone had a similar problem?
Thanks