-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
OS X Yosemite: after installing brew-cask, brew doesn't recognize it as a command #4685
Comments
I did a update of Yosemite, not a fresh install |
Homebrew finds external commands such as If you have installed to the default locations, Homebrew should have created a symlink at
which refers to an executable file at (currently)
So, for the command $ printenv PATH
/usr/bin:/usr/local/bin:.....
$ ls -la /usr/local/bin/brew-cask.rb
lrwxr-xr-x 1 user staff 43 May 9 10:25 /usr/local/bin/brew-cask.rb -> ../Cellar/brew-cask/0.35.0/bin/brew-cask.rb
$ ls -la /usr/local/Cellar/brew-cask/0.35.0/bin/brew-cask.rb
-rwxr-xr-x 1 user staff 203 May 9 10:25 /usr/local/Cellar/brew-cask/0.35.0/bin/brew-cask.rb (Note that, confusingly, there are two different |
@rolandwalker hers mine: $ printenv PATH
/Users/tcarlsen/.nvm/v0.10.26/bin:./bin:/usr/local/bin:/usr/local/sbin:/Users/tcarlsen/.dotfiles/bin:/Users/tcarlsen/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
$ ls -la /usr/local/bin/brew-cask.rb
lrwxr-xr-x 1 tcarlsen admin 43 Jun 4 20:37 /usr/local/bin/brew-cask.rb -> ../Cellar/brew-cask/0.35.0/bin/brew-cask.rb*
$ ls -la /usr/local/Cellar/brew-cask/0.35.0/bin/brew-cask.rb
-rwxr-xr-x 1 tcarlsen staff 203 Jun 4 20:37 /usr/local/Cellar/brew-cask/0.35.0/bin/brew-cask.rb* and |
Those files look kosher, but your $ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin brew cask as well as checking the output of It seems that Homebrew switched to Ruby 2.0 to make things work on Yosemite. That's a fairly major jump from 1.8. (I'm surprised the breakage is not greater.) |
Same issue here:
|
I made a symlink from Nothing out of the ordinary in the brew doctor output. |
I figured out that iTerm2 is the culprit; it's not picking up Running it in Terminal.app performs just fine. Related issue here: Homebrew/legacy-homebrew#29843 |
@kreeger indeed... and this is really weird. |
@kreeger If you use tmux in iTerm2 the problem goes away. |
A bug report has been filed on iTerm2 (whether or not it's a bug with iTerm2) right here. If there indeed is an issue with OS X 10.10 and not iTerm2, then it's probably a good idea for us to use this fix and let iTerm2 weather out the ever-changing-and-fixing-Developer-Preview storm. |
@kreeger that did it for me!!!
|
My understanding is that this bug does not touch on any code in Homebrew-cask, and there's nothing we can fix. However, it would be nice to leave the issue open for a little while to help other people find these solutions. |
The cross-reference with #4869 ( |
Hope you got it running @dzegna? |
@tcarlsen and I have been seeing this issue on Yosemite. The homebrew team patched things up throughout the day on Tuesday and now
brew
itself appears to work okay; I was able to install tons and tons of recipes on a fresh install of Yosemite through home-brew.brew-cask
on the other hand doesn't seem to get noticed bybrew
after it's tapped on a fresh install of Yosemite. See screenshot above.It'd be great to get brew-cask working again. I miss it already! (I don't know enough about homebrew's inner workings yet, otherwise I'd submit a PR. 🍻 to who does, though!)
This issue was spun off of issue #4667.
The text was updated successfully, but these errors were encountered: