所以,我刚刚花了一大笔钱买了一台Mac,我想用Boxen来设置一个工作环境。问题是,设置说明有点令人困惑。此页面上的简介:
https://github.com/boxen/our-boxen#getting-started
使用git
sudo mkdir -p /opt/boxen
sudo chown ${USER}:admin /opt/boxen
git clone <location of my new git repository> /opt/boxen/repo
cd /opt/boxen/repo
script/boxen但它接着又说:
This template project provides the following by default:
Homebrew
Git
Hub我得到的印象是,在使用Boxen时,您理想上希望有一个干净的系统,以避免冲突,所以在我从自制软件/应用程序商店获得git之前,我想看看其他人是如何设置Boxen的,这样我就可以省去一些麻烦了
发布于 2013-03-30 08:18:44
我不认为你需要先安装git。我已经安装了Boxen,尽管我还没有在新机器上尝试干净的bootstrap。我的理解是:
1) X-Code命令行工具是安装Boxen - X-Code installs a version of git as /usr/bin/git的先决条件,因此不需要显式安装另一个git来引导Boxen。在我的机器上- Mountain Lion/10.8.3:
$ /usr/bin/git --version
git version 1.7.12.4 (Apple Git-37)2)一旦你安装了Boxen,Boxen就会在/opt/boxen/homebrew/bin/git上安装git的自制版本,它可能是X代码命令行git的更新版本
$ /opt/boxen/homebrew/bin/git --version
git version 1.8.03)最后,Boxen默认安装hub,git别名为hub (hub is a GitHub-enhancing wrapper around git):
$ type -a git
git is aliased to `hub'
git is /opt/boxen/homebrew/bin/git
git is /usr/bin/git
$ git --version
git version 1.8.0
hub version 1.10.5发布于 2014-01-18 06:44:33
在我设置一个新的Boxen之前,我让Xcode命令行工具来做这件事:
$ xcode-select --install在设置Boxen之后,您将升级到适当的Git版本。
https://stackoverflow.com/questions/15707571
复制相似问题