cannot load such file —
If Lambda not found gem — check gems location in lambda function package. Version should correspond lambda runtime (2.5.0 at this moment), even minor version matter
.\vendor\bundle\ruby\2.5.0\
stackoverflow.com
cannot load such file —
.\vendor\bundle\ruby\2.5.0\
gem install --local .\rubygems-update-2.6.11.gem
update_rubygems
gem uninstall rubygems-update -x
require "securerandom"
SecureRandom.hex(5)