Closed jcavalieri closed 1 year ago
I got this working with Apple Silicon with two changes.
I removed this line:
bundle lock --add-platform x86_64-linux
https://github.com/customink/lamby-cookiecutter/blob/master/lambify/bin/_build#L12
And added this to the template.yaml under the RailsLambda Properties:
Architectures:
- arm64
I was able to get this to work on an M1 by adding --platform=linux/amd64
to the New Rails Application command (docker run ... gh:customink/lamby-cookiecutter
), and running export DOCKER_DEFAULT_PLATFORM=linux/amd64
in my terminal.
@jordan-brough did this actually work? I followed your instructions and got:
"errorMessage": "Could not find nio4r-2.5.8, websocket-driver-0.7.5, nokogiri-1.13.8, digest-3.1.0, strscan-3.0.4, mini_portile2-2.8.0, racc-1.6.0 in locally installed gems",
After deploy finished
New cookiecutter and docs site just landed. Removes a lot of this complexity.
Hi Custom Ink devs,
I am going through the lamby quickstart. And I believe I'm encountering an issue because I'm using Apple Silicon. I'll keep looking into it but I thought I would share.
On the
./bin/deploy
step I am getting the following error (note I changedset -x
toset -eux
):