What's really strange is that I have thus plugin working on a test 
installation, but I can't get it to work on production.

*NOT MY 
CODE* https://github.com/01100010011001010110010101110000/foreman_azure_rm 
- this is something I'm really, really interested in getting working.

The gem builds fine (gem build foreman_azure_rm.gemspec) - and I can 
install the same exact gem on my test server.

I install it via: scl enable tfm "gem install 
/root/foreman_azure_rm/foreman_azure_rm-1.3.0.gem"

I can see the gem in 
/opt/rh/rh-ruby22/root/usr/local/share/gems/gems/foreman_azure_rm-1.3.0

I create /usr/share/foreman/bundler.d/Gemfile.local.rb, with a single line: 
gem 'foreman_azure_rm'

I restart httpd, and I get: *Gem loading error: cannot load such file -- 
foreman_azure_rm (RuntimeError)*

If I run: scl enable tfm "gem list", I see the gem listed. And when I list: 
scl enable tfm "gem contents foreman_azure_rm", everything is listed in the 
/opt/rh/rh-ruby22/root/usr/local/share/gems/gems path.

Any help on how I can troubleshoot this? Have I done something wrong?


-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to