Plugin development - foreman_plugin_template - cannot load such file

Hello,
I am following official docs describing how build custom plugins:
https://github.com/theforeman/foreman/blob/develop/developer_docs/how_to_create_a_plugin.asciidoc

  1. I fetched the foreman_plugin_template git repo. I didn’t change name of the plugin, nor modified anything in the plugin code.
cd /opt
git clone https://github.com/theforeman/foreman_plugin_template my_super_plugin
Cloning into 'my_super_plugin'...
remote: Enumerating objects: 599, done.
remote: Counting objects: 100% (182/182), done.
remote: Compressing objects: 100% (120/120), done.
remote: Total 599 (delta 73), reused 136 (delta 56), pack-reused 417 (from 1)
Receiving objects: 100% (599/599), 151.61 KiB | 6.59 MiB/s, done.
Resolving deltas: 100% (182/182), done.
  1. Added plugin template to Foreman
cd /usr/share/foreman/bundler.d/
cat foreman_plugin_template.rb

### OUTPUT OF cat:
gem 'foreman_plugin_template', :path => '/opt/my_super_plugin'
  1. Foreman cannot be started:

Feb 5 07:37:31 myserver01 dynflow-sidekiq@worker-1[471567]: 2025-02-05T06:37:31.540Z pid=471567 tid=a4sf WARN: RuntimeError: Gem loading error: cannot load such file – foreman_plugin_template
Feb 5 07:37:31 myserver01 dynflow-sidekiq@worker-1[471567]: 2025-02-05T06:37:31.540Z pid=471567 tid=a4sf WARN: /usr/share/gems/gems/bundler_ext-0.4.1/lib/bundler_ext/output.rb:13:in `strict_err’

Expected outcome:
Foreman plugin template installed successfully.
What am I doing wrong here? Is there a bug?
Why I can’t even load the foreman plugin template?
Directory /opt/my_super_plugin is accessible by everyone, I even changed permissions to 777 and it didn’t help.

Foreman and Proxy versions:
3.13, installed from official Foreman repos (using foreman-installer)

Distribution and version:
Alma OS 9.4