matthewfranglen / dotfiles

My ZSH Shell Configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails to install git-up when running over an existing install

PaulCollingwood opened this issue · comments

Collecting cached-property<2,>=1.2.0 (from docker-compose)
  Downloading cached_property-1.3.0-py2.py3-none-any.whl
Collecting six<2,>=1.3.0 (from docker-compose)
  Using cached six-1.10.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): PyYAML<4,>=3.10 in /usr/lib/python2.7/dist-packages (from docker-compose)
Requirement already satisfied (use --upgrade to upgrade): enum34<2,>=1.0.4 in /usr/lib/python2.7/dist-packages (from docker-compose)
Collecting dockerpty<0.5,>=0.4.1 (from docker-compose)
Collecting jsonschema<3,>=2.5.1 (from docker-compose)
  Downloading jsonschema-2.5.1-py2.py3-none-any.whl
Collecting texttable<0.9,>=0.8.1 (from docker-compose)
Collecting docker-py<2.0,>=1.9.0 (from docker-compose)
  Downloading docker_py-1.10.3-py2.py3-none-any.whl (48kB)
    100% |████████████████████████████████| 51kB 3.8MB/s 
Collecting requests<2.8,>=2.6.1 (from docker-compose)
  Downloading requests-2.7.0-py2.py3-none-any.whl (470kB)
    100% |████████████████████████████████| 471kB 2.4MB/s 
Collecting websocket-client<1.0,>=0.32.0 (from docker-compose)
Collecting docopt<0.7,>=0.6.1 (from docker-compose)
Collecting functools32 (from jsonschema<3,>=2.5.1->docker-compose)
Collecting docker-pycreds>=0.2.1 (from docker-py<2.0,>=1.9.0->docker-compose)
  Downloading docker_pycreds-0.2.1-py2.py3-none-any.whl
Collecting ipaddress>=1.0.16 (from docker-py<2.0,>=1.9.0->docker-compose)
  Downloading ipaddress-1.0.17-py2-none-any.whl
Collecting backports.ssl-match-hostname>=3.5 (from docker-py<2.0,>=1.9.0->docker-compose)
Installing collected packages: cached-property, six, dockerpty, functools32, jsonschema, texttable, docker-pycreds, ipaddress, requests, backports.ssl-match-hostname, websocket-client, docker-py, docopt, docker-compose
Successfully installed backports.ssl-match-hostname-3.5.0.1 cached-property-1.3.0 docker-compose-1.8.0 docker-py-1.10.3 docker-pycreds-0.2.1 dockerpty-0.4.1 docopt-0.6.2 functools32-3.2.3.post2 ipaddress-1.0.17 jsonschema-2.5.1 requests-2.7.0 six-1.10.0 texttable-0.8.4 websocket-client-0.37.0
ERROR:  While executing gem ... (Errno::EACCES)
    Permission denied @ rb_sysopen - /home/paul/.gem/ruby/2.1.0/gems/git-up-0.5.12/bin/git-up
➜ ls -l ~/.gem/ruby/2.1.0/gems/git-up-0.5.12/bin/
total 4
-rwxr-xr-x 1 root root 60 Mar 26 14:01 git-up

It appears that the initial installation of git up was done as root.

It's unmaintainable to test file permissions for every command in the dotfiles. Instead what is needed is a way to run all the installers safely and then report those that failed to run.

The output of the installers has been improved in https://github.com/matthewfranglen/dotfiles/releases/tag/0.1.123
It will now list those installers which ran successfully, those that failed, and any messages sent to standard error. The install output is logged to allow better issue submission.

I believe this addresses a tangential issue in this ticket 😄 the real problem here is that you have local gems which are owned by root.