You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly - THANK YOU for this plugin. It's really simplified our build and deploy strategies.
It's great. I appreciate the work you and other contributors have put into it.
Cannot Find Gems in Deployed 3.2 Runtime
We recently updated a serverless project's runtime to ruby3.2 - and once it was deployed, it couldn't find gems.
A bit of digging uncovered that while the gems bundled (in the ephemeral lambci/lambda:build-ruby2.7 image) into vendor/bundle/ruby/2.7.0/...the setup.rb reads as:
Have you upgraded to the 3.2 version of this plugin? It includes these changes #51 which added first class support for ruby 3.2, and switches to the official AWS container images.
Please let me know if there is still an issue after using the updating the plugin.
Hi @joshuaflanagan
Firstly - THANK YOU for this plugin. It's really simplified our build and deploy strategies.
It's great. I appreciate the work you and other contributors have put into it.
Cannot Find Gems in Deployed 3.2 Runtime
We recently updated a serverless project's runtime to
ruby3.2
- and once it was deployed, it couldn't find gems.A bit of digging uncovered that while the gems bundled (in the ephemeral
lambci/lambda:build-ruby2.7
image) intovendor/bundle/ruby/2.7.0/
...the setup.rb reads as:So in the runtime
RbConfig::CONFIG["ruby_version"]
will be evaluated as "3.2.0" - and the $LOAD_PATH array won't will build paths like:.../2.7.0/gems/aws-eventstream-1.1.0/lib
instead of the correct.../3.2.0/gems/aws-eventstream-1.1.0/lib
.Does that make sense / jive with your experience?
Using a Maintained Image for Building
lambci/lambda is deprecated. They won't be building a 3.2 image.
Has there been any investigation into switching this repo to use the aws/aws-lambda-base-images images per lambci/lambda's deprecation suggestion?
The text was updated successfully, but these errors were encountered: