-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
/usr/local/Library/Homebrew/macos.rb:251:in `require': no such file to load -- macos/xcode (LoadError) #18600
Comments
What goes |
Depending on the state of the repository in |
I am having exactly the same issue. It just appeared out of nowhere today. Since I haven't used Homebrew for a couple of weeks, I'm not sure which system change caused it.
I already reinstalled Homebrew but the issue persists. Running Mountain Lion and latest version of XCode. |
I'm seeing the same issue. I recently installed rvm (Ruby version manager) - could that have had something to do with it? I did a |
@emil79 Yes, that could. |
No I don't have RVM. All brew commands, including brew update, show that error. |
|
I have now reinstalled homebrew as I couldn't wait, but this what I got from
|
I have the exact problem as @emil79 after reinstalling. Not just |
Have you both already installed the Xcode CLT? |
I have the same issue. I have installed the XCode CLTs. I cannot re-install because when I attempt to install it says it's already installed, and I cannot do either the instructions there (brew cleanup will not run) or the uninstall script (brew --prefix will not run), because all brew commands, including brew doctor have the following output (note there's a different line number in macos.rb than the other paste in this thread; not sure if that's important):
EDIT: Update: I removed the /usr/local/Library folder based on comments on the gist that contains the uninstall script; it allowed me to re-install brew properly and appears to be working again. Obviously this is not necessarily a great idea. |
Yes, I do have CLT (version 4.5.0.0.1.1249367152) installed. |
I had this problem after fixing the PATH because Perhaps I messed up Homebrew by running some things from
|
Where are you running
Running
|
In |
This is my output from running `==> This script will install: Press ENTER to continue or any other key to abort
I've also tried uninstalling Homebrew via the
Since Thanks in advance for any help! |
Try to change the owner of |
Running |
This is not a support forum. Additionally: These |
The text was updated successfully, but these errors were encountered: