Inspec RPM installation cannot load such file 'aws-sdk'

Hello,

We are currently in the process of upgrading from inspec 3.9 to 4.3.2. While on 3.9, all of our custom resources/profiles ran without issue ( all of which require 'aws-sdk'). After installing inspec 4.3.2 via rpm, we receive errors when trying to run our profiles stating that 'Cannot load such file aws-sdk'. Installed aws-sdk through the os’s ruby and continue to get the Cannot load such file ‘aws-sdk’ error.
Verified that within /opt/inspec/embedded/bin/gem list that the aws-sdk gem is not installed. Tried installing the aws-sdk gem from within the embedded ruby and run into all sorts of conflict errors.

When we install inspec 4.3.2 via the inspec-bin gem, and aws-sdk, everything runs perfectly just as it did before the upgrade.

Is there a step that I am missing that is special when installing inspec via the rpm? Ruby environmental paths? I am at a loss.

This should be resolved as of InSpec 4.12.0 or earlier - give it a try and see if it is still a problem. You should need to install any gems manually if you are doing an RPM install.