serverless-sinatra-sample icon indicating copy to clipboard operation
serverless-sinatra-sample copied to clipboard

Encounter `Init<LoadError>: cannot load such file -- rack` on Production environment

Open BlazingRockStorm opened this issue 1 year ago • 0 comments

I'm working on pull https://github.com/aws-samples/serverless-sinatra-sample/pull/28 since AWS Lambda now only support Ruby 3.2 and Ruby 3.3, and encounter the error:

Screenshot 2024-08-25 at 23 23 27

The code worked fine on local and passed the tests(as I showed on the pull https://github.com/aws-samples/serverless-sinatra-sample/pull/28 )

Can anyone teach me how to debug this on production or help me with my pull request?

BlazingRockStorm avatar Aug 25 '24 14:08 BlazingRockStorm