Я только что познакомился с Ruby on Rails и следую инструкциям по установке «homebrew» (используя Mac El Capitan 10.11.3). Я попытался установить Homebrew, скопировав строку кода установки с веб-сайта homebrew, но каким-то образом получил сообщение «сбой во время» (это первый раз, когда я пытался установить).
Я был в неведении, поэтому просто снова ввел строку кода, вот что получилось (во второй раз я получаю «файл существует» и «сбой во время»):
==> Downloading and installing Homebrew...
remote: Counting objects: 54, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 54 (delta 45), reused 40 (delta 33), pack-reused 0
Unpacking objects: 100% (54/54), done.
error: cannot lock ref 'refs/remotes/origin/master': Unable to
create '/usr/local/Homebrew/.git/refs/remotes/origin/master.lock':
File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
From https://github.com/Homebrew/brew
! [new branch] master -> origin/master (unable to update
local ref)
Failed during: git fetch origin master:refs/remotes/origin/master --
tags --force --depth=1
Я совершенно новичок в разработке и понятия не имею, как действовать дальше. У кого-нибудь есть советы?
If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue
- person cel   schedule 07.12.2016