Skip to content

Instantly share code, notes, and snippets.

@rinopo
Created March 7, 2015 14:21
Show Gist options
  • Save rinopo/12b6b29f0def98fb1531 to your computer and use it in GitHub Desktop.
Save rinopo/12b6b29f0def98fb1531 to your computer and use it in GitHub Desktop.
homebrew-file error
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir /usr/local
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 235189, done.
remote: Compressing objects: 100% (373/373), done.
remote: Total 235189 (delta 248), reused 0 (delta 0), pack-reused 234815
Receiving objects: 100% (235189/235189), 30.46 MiB | 1.10 MiB/s, done.
Resolving deltas: 100% (176342/176342), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at ac4e213 passenger: update 5.0.2 bottle.
==> Installation successful!
==> Next steps
Run `brew doctor` before you install anything
Run `brew help` to get started
$ brew doctor
Your system is ready to brew.
$ curl -fsSL https://raw.github.com/rcmdnk/homebrew-file/install/install.sh |sh
Install Brew-file...
Cloning into '/usr/local/Library/Taps/rcmdnk/homebrew-file'...
remote: Counting objects: 1500, done.
remote: Total 1500 (delta 0), reused 0 (delta 0), pack-reused 1500
Receiving objects: 100% (1500/1500), 241.56 KiB | 169.00 KiB/s, done.
Resolving deltas: 100% (661/661), done.
Checking connectivity... done.
Tapped 1 formula
==> Installing brew-file from rcmdnk/homebrew-file
==> Cloning https://github.com/rcmdnk/homebrew-file.git
Cloning into '/Library/Caches/Homebrew/brew-file--git'...
remote: Counting objects: 12, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 12 (delta 0), reused 7 (delta 0), pack-reused 0
Unpacking objects: 100% (12/12), done.
Checking connectivity... done.
Note: checking out '64693b2dc587a1d7f8710f01e79f93604ea3cbf2'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
==> Checking out tag v3.3.2
🍺 /usr/local/Cellar/brew-file/3.3.2: 4 files, 80K, built in 2 seconds
$ brew file set_repo
Set repository, "non" for local Brewfile,
<user>/<repo> for github repository,
or full path for the repository: rinopo/Brewfile
GitHub repository: rinopo/Brewfile doesn't exist.
do you want to create the repository? [y/n]: y
GitHub password:
Traceback (most recent call last):
File "/usr/local/bin/brew-file", line 1535, in <module>
main()
File "/usr/local/bin/brew-file", line 1532, in main
b.execute()
File "/usr/local/bin/brew-file", line 1302, in execute
self.set_brewfile_repo()
File "/usr/local/bin/brew-file", line 732, in set_brewfile_repo
self.check_repo()
File "/usr/local/bin/brew-file", line 374, in check_repo
self.check_github_repo()
File "/usr/local/bin/brew-file", line 282, in check_github_repo
import requests, json
ImportError: No module named requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment