This repository has been archived by the owner on May 22, 2018. It is now read-only.
Add --binarydir to brewcask install_options #127
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the PR for the problem I originally mentioned in the discussion of PR119.
I run into a small problem when I wanted to install Textmate:
The Textmate cask tries to symlink a helper binary to
/usr/local/bin/mate
. Since Boxen does not touch/usr/local
by default the permissions are wrong and/usr/local/bin
does not even exist.As far as I can tell, we should install the helper into
/opt/boxen/homebrew/bin
instead. According to https://github.com/caskroom/homebrew-cask/blob/master/USAGE.md the corresponding brew cask option is--binarydir=/opt/boxen/homebrew/bin
.I tested my changes by unistalling Textmate manually with
brew cask uninstall textmate
, deleting the Puppetfile.lock, replacing the puppet-boxen module in the Puppetfile with my local fork and runningscript/boxen
again. This time Textmate installed without a problem andmate
is symlinked as/opt/boxen/homebrew/bin/mate
as expected.