Skip to content
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

Apple Silicone Issues #1193

Closed
Modrx opened this issue Dec 10, 2023 · 5 comments · May be fixed by #1194
Closed

Apple Silicone Issues #1193

Modrx opened this issue Dec 10, 2023 · 5 comments · May be fixed by #1194

Comments

@Modrx
Copy link

Modrx commented Dec 10, 2023

Hi,

Apple Silicone M2
OS: Sonoma

When following the instructions as shown here:
https://github.com/mastodon/mastodon-ios/blob/develop/Documentation/Setup.md

After running the following command

echo 'eval "$(rbenv init -)"' >> ~/.zprofile
source ~/.zprofile

and then

which ruby

I am still getting:

# > /usr/bin/ruby

instead of

# > /Users/mainasuk/.rbenv/shims/ruby

and unable to run

rbenv install

bundle install

Thank you!

@Modrx
Copy link
Author

Modrx commented Dec 12, 2023

Hi,

The following is not working either:

echo 'eval "$(rbenv init -)"' >> ~/.zshrc
source ~/.zshrc

and then

which ruby

I am still getting:

# > /usr/bin/ruby

instead of

# > /Users/mainasuk/.rbenv/shims/ruby

and unable to run

rbenv install

bundle install

Thank you!

@kimar
Copy link
Contributor

kimar commented Dec 12, 2023

@Modrx any chance you're not using Zsh ? Could you please post the output of echo $SHELL ? Thx!

@Modrx
Copy link
Author

Modrx commented Dec 12, 2023

Output:

/bin/zsh

Still not working.

Thank you!

@kimar
Copy link
Contributor

kimar commented Dec 13, 2023

@Modrx sounds like something is off there with your setup, could you please follow the instructions for installing Rbenv in their documentation: https://github.com/rbenv/rbenv

@logicalmoody
Copy link

logicalmoody commented Dec 20, 2023

I have the same issue on the same platform. I am following the setup guide to a T

EDIT: I was able to get myself unstuck, posting the solution here for @Modrx and others who end up here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants