-
Notifications
You must be signed in to change notification settings - Fork 692
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
Fix Ruby Gem Permission in Setup Script #2005
Conversation
1/ man, tell me more details. for example, brew is more straitghtforward for me. if you are facing an issue, tell me your findings - what is the cause and why your fixes could help another developers without introducing new issues. |
1/ man, could you try with |
@beastoin Sure, that doesn't help. The issue is related to Ruby version conflicts. I have Ruby 3.4.2 installed via Homebrew, but CocoaPods is using Ruby 3.2.2 managed by rbenv. What are you using for your Ruby environment? rbenv, RVM, Homebrew Ruby, or macOS system Ruby? Depending on this, there are several different options available. I'm ready to set up your option, but I personally prefer using rbenv for the basics to avoid conflicts with other projects. Can you please run the following commands and share your parameters? which ruby
ruby -v
rbenv versions
brew list | grep ruby Here are my results:
|
There are three options available: The installation method affects how the rest of the scripts are run—whether via |
This guy #2039 set up successfully with brew. Please use brew and check it again. / closed
Feel free to reopen it if you trust this is the way to let people set up more easily. |
The setup script is failing during bundle install with permission errors when trying to install the JSON gem. This appears to be related to PR #1998 (commit 095f4ae), which introduced changes that led to permission issues during the gem installation process.
Testing Required: