AWS Lambda: Ruby function failing to load gem
问题 I have a Ruby Lambda function which depends on an external (ie non-AWS) RubyGem. I have a Gemfile , a Gemfile.lock and a vendor/bundle directory. Everything looks fine from a local perspective. I've tried using bundle install --path vendor/bundle and bundle install --deployment to install the gems, and am specifically including the vendor directory when zipping up the files: zip -r function.zip myfunction.rb vendor Despite this, when I test the function in the Lambda console, it's failing