I'm currently trying to deploy to AWS Lambda. I'm using Ruby -v 2.5.8 and mysql2 0.5.2 version.
FROM lambci/lambda:build-ruby2.5
WORKDIR /var/task
# Install MySQL
RUN yum -y install mysql-devel
RUN gem update bundler
The above is the Dockerfile to create the container using the Ruby 2.5 environment. I'm able to install gem 'mysql2', '0.5.2' but when I test I get the following error:
I used this article to deploy. Here are the full logs:
I'm currently trying to deploy to AWS Lambda. I'm using Ruby -v 2.5.8 and
mysql2
0.5.2 version.The above is the Dockerfile to create the container using the Ruby 2.5 environment. I'm able to install
gem 'mysql2', '0.5.2'
but when I test I get the following error: I used this article to deploy. Here are the full logs: