-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional instructions for Apple Silicon Users #2705
base: master
Are you sure you want to change the base?
Conversation
Can you verify this @pourmand1376? I don't have access to a Mac. |
Hey Guys. I tested on M1 Mac and I really couldn't figure out the issue. Here's what I've done.
Is there any way to replicate your issue? |
The issue is not related to local development, but when you try to deploy this website to Github Actions, see here an instance of a failed build when you push your changes from local. Again, local development is just fine using the |
Maybe. I just don't understand why Gemfile is updated in @0xAdriaTorralba repository. |
Can you explain how you updated your Gemfile.lock file and what was the reason? |
Yes, it seems so. I got those issues before updaing the Gemfile.lock
The way I managed to update the Gemfile.lock is by doing the step-by-step I added on
The problem here is the following: the first time you run |
Somehow its Gemfile.lock is apparently being overwritten and commited to the repo, which I believe it shouldn't. We have Gemfile.lock versioned here and also added to the .gitignore. Also if you look at the versioned Gemfile.lock we have Line 215 in 0465459
which is the version you just locked into. |
OK. Thanks for explanation. I think a better workaround is that you don't commit For that before any commit do this:
@george-gca And About |
Thanks for mentioning that. I think we need to add another PR or change this PR somehow to make that change everytime. We should add this command somewhere to be run after finishing local deployment:
@0xAdriaTorralba. I created another PR to see if I can solve this issue. #2707. I'll see what I can do (I can even add my changes to this PR if you want). Thanks for bringing our attention to this bug. |
Maybe we should do something like |
I merged my change. It should solve this problem. |
Trying to deal with building the website using Github Actions, I found a problem related to my local development build being an Apple Silicon Mac.
I found a workaround for this, and I'm sharing and adding the step-by-step to fix the problem, in case you find suitable to include this for the rest of Apple Silicon Mac users :)