Restart Consul on remote server not working

In order to apply changes to the website (color, etc) I have to restart the server. When I try to restart rails it aborts and gives an error (see below)

How can I solve this?

/consul/releases/20220115132644/bin $ ./rails restart

(in /home/deploy/consul/releases/20220115132644)

rails aborted!

LoadError: cannot load such file – github_changelog_generator/task

/home/deploy/consul/shared/bundle/ruby/2.7.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `require’

/home/deploy/consul/shared/bundle/ruby/2.7.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `block in require’

/home/deploy/consul/shared/bundle/ruby/2.7.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in `load_dependency’

/home/deploy/consul/shared/bundle/ruby/2.7.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `require’

/home/deploy/consul/releases/20220115132644/Rakefile:9:in `<top (required)>’

/home/deploy/consul/shared/bundle/ruby/2.7.0/gems/railties-5.2.6/lib/rails/commands/rake/rake_command.rb:22:in `block in perform’

/home/deploy/consul/shared/bundle/ruby/2.7.0/gems/railties-5.2.6/lib/rails/commands/rake/rake_command.rb:20:in `perform’

/home/deploy/consul/shared/bundle/ruby/2.7.0/gems/railties-5.2.6/lib/rails/command.rb:48:in `invoke’

/home/deploy/consul/shared/bundle/ruby/2.7.0/gems/railties-5.2.6/lib/rails/commands.rb:18:in `<top (required)>’

./rails:4:in `require’

./rails:4:in `’

(See full trace by running task with --trace)

Hi, Wouter.

You may find the answer to this other question helpful:

Regards!