Skip to content
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

Specify alternative location for Brewfile doesn't work #11

Closed
Konafets opened this issue Nov 10, 2014 · 1 comment
Closed

Specify alternative location for Brewfile doesn't work #11

Konafets opened this issue Nov 10, 2014 · 1 comment

Comments

@Konafets
Copy link

I tried the following variations:

$ brew file -f ~/.dotfiles/Brewfile install
$ brew file --file=~/.dotfiles/Brewfile install
$ brew file --file="~/.dotfiles/Brewfile" install
$ brew file install -f~/.dotfiles/Brewfile
$ brew file install --file"~/.dotfiles/Brewfile"
$ brew file install --file="~/.dotfiles/Brewfile"

I created a symlink from ~/.dotfiles/Brewfile to /usr/local/Library/Brewfile

All I get is

WARNING: Input file $brewfile is not found.
WARNING: Do you want to initialize from installed packages? [y/n]:
@rcmdnk
Copy link
Owner

rcmdnk commented Nov 10, 2014

I found a bug in case which Brewfile doesn't exist.
On the other hand, I could manage to use such ~/.dotfiles/Brewfile if I made it.

I also tried to use link:

$ ln -s /usr/local/Library/Brewfile ~/.dotfiles/Brefile
$ brew file -f ~/.dotfiles/Brewfile install

Then, it worked correctly.
Could you please try it again with the latest brew-file?
Currently, it is v2.1.5.

@rcmdnk rcmdnk closed this as completed Nov 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants