jekyll-theme-chirpy icon indicating copy to clipboard operation
jekyll-theme-chirpy copied to clipboard

Actions failes on "conitnuous-delivery" on M1 Macs

Open LucEast opened this issue 2 years ago • 7 comments

Checklist

  • [x] I have read the tutorials and know the correct effect of the functional design.
  • [x] There are no similar reports on existing issues (including closed ones).
  • [x] I found the bug on the latest code of the master branch.

Describe the bug

My continuous-delivery failes at "bundle install". I'm on the new M1 pro MacBook pro and already added "x86_64-linux" to the bundle lock file.

To Reproduce

Steps to reproduce the behavior:

Use M1 based System

Expected behavior

I expected that everything runs normal

Screenshots

Bildschirmfoto 2022-07-07 um 09 00 52

Environment

Command Version
ruby -v 2.6.8p205
gem -v 3.0.3.1
bundle -v 2.3.17
bundle exec jekyll -v Bus Error at 0x0000000102804000
bundle info jekyll-theme-chirpy 5.2.1

Desktop

  • OS: [MacOS 12.4]
  • Browser: [Chrome 103.0.5060.53 (arm64)]

Smartphone

Additional context

LucEast avatar Jul 07 '22 14:07 LucEast

I have the same issue but running the CD with Github Actions.

sobrienti avatar Jul 13 '22 13:07 sobrienti

I am hearing lots of people are experiencing issues with the M1 macs, Seems like Line 29 in your screenshot gives you a hint.

It mainly seems to be around the fact that the M1 uses ARM architecture and most things are still default to x86_64.

I do not think this issue has anything to do with the theme, I may be wrong tho.

SilentGlasses avatar Jul 16 '22 00:07 SilentGlasses

Have you tried Line 29 bundle lock --add-platform x86_64-darwin-19?

NichtsHsu avatar Jul 16 '22 03:07 NichtsHsu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 16 '22 01:08 stale[bot]

Have you tried Line 29 bundle lock --add-platform x86_64-darwin-19?

This worked for me! Thank you!!

phanmn1 avatar Aug 16 '22 02:08 phanmn1

Remember to resolve your issues if the solution offered helped out.

aphive avatar Aug 25 '22 04:08 aphive

Hey, thanks for your patience.

Have you tried Line 29 bundle lock --add-platform x86_64-darwin-19? Sadly it still doesn't work.

LucEast avatar Sep 18 '22 14:09 LucEast

I deleted my repo and created a new one from the Chirpy-Starter Repo. I had to add 'bundle lock --add-platform x86_64-linux' and now it works. Thanks for the help.

LucEast avatar Oct 04 '22 15:10 LucEast