Hey Josh,

Is that error line the only stack trace there is?

On Jul 19, 2017 2:29 PM, "jpavel" <[email protected]> wrote:

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/011000100110010101100101011100
00/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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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