DEV Community

Discussion on: Serverless web scraper in Ruby - tutorial

Collapse
 
ashae81903870 profile image
Asha E • Edited

When I run this command,
docker run --rm -v "$PWD":/var/task --mount type=tmpfs,target=/dev/shm,readonly=true lambci/lambda:ruby2.5 lambda_function.lambda_handler

Init error when loading handler lambda_function.lambda_handler

"errorMessage": "Could not find childprocess-3.0.0 in any of the sources",
"errorType": "InitBundler::GemNotFound",

Used the same code and gem versions as yours

Collapse
 
ashae81903870 profile image
Asha E

I had to create ruby layers
stackoverflow.com/questions/536342...

Thanks for this post