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
brew update Fails With Ruby Error #1511
Comments
|
Thx for the quick response @MikeMcQuaid ; sadly it still generates errors, though slightly different:
warning: unable to unlink .yardopts: Permission denied warning: unable to unlink CONTRIBUTING.md: Permission denied warning: unable to unlink SUPPORTERS.md: Permission denied fatal: cannot create directory at '.github': Permission denied Bender:local alfred$` |
Ok: |
OK, here's what I got:
Can I chown the files in this directory to alfred:admin? |
@NotoriousWebmaster Yeh, |
Thanks @MikeMcQuaid!!! That worked. When I did a second update I got these Unknown option messages, is this normal?
|
@NotoriousWebmaster Sounds like you have a |
Not sure how to address this. Here's my PATH:
|
|
I can move XAMPP to the end of the PATH. Would that help?
|
Yep. |
Beautiful! That fixed it. Thanks. |
Excellent work Mike! FYI, this fixed my issues in OSX 10.12.5 also... Thanks again, |
Based on the comments above, these steps – and in the following order – worked for me:
|
OSX 10.11.2
I'm getting this error:
'Bender:local alfred$ brew update /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require': cannot load such file -- mach (LoadError)from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /usr/local/Library/Homebrew/extend/pathname.rb:2:in
<top (required)>'from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require'from /usr/local/Library/Homebrew/global.rb:3:in
<top (required)>' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require'from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require' from /usr/local/Library/brew.rb:15:in
Bender:local alfred$`
I imagine I need to update my Ruby or XCode?
Thanks for your help.
The text was updated successfully, but these errors were encountered: