foreman_fog_proxmox
foreman_fog_proxmox copied to clipboard
Development issue.
As I wanted to participate in the development of the plugin, I set up a specific development platform based on Vagrant.
To do this, I followed the following documentation https://github.com/theforeman/foreman/blob/develop/developer_docs/foreman_dev_setup.asciidoc to install the development platform and then the instructions described in your README.
Architecture:
- Vagrant -> AlmaLinux8
- Ruby 2.7
- PostresSQL 13
- NodeJS 14
- Foreman 3.12-stable
- foreman_fog_proxmox plugin 0.17.0
After installing the plugin (creating Gemfile.local.rb
then bundle install
), when I run the command
bundle exec rake db:migrate
I get the following error:
rake aborded!
LoadError: Unable to autoload constant ProxmoxVmHelper, expected /home/vagrant/plugins/foreman_fog_proxmox/app/helpers/proxmox_vm_helper.rb to define it.
I get the same error when I try to start Foreman.
bundle exec foreman start
I ended up thinking that this error was linked to a snake_case or CamelCase problem, but why this error from the plugin sources ?
I should point out that I'm taking advantage of this project to learn Rails and Ruby. I'm therefore a beginner in these technologies and it's likely that I may have missed a step.
Thanks in advance for any help you can give me.