Boxenを使ったMacの開発環境構築
Github社が作ったMacの設定ツール Boxenを使って、Mac Book Airの開発環境を作りました。結構はまった...。
インストール
## Boxenのインストール sudo mkdir -p /opt/boxen sudo chown $USER:admin /opt/boxen git clone https://github.com/boxen/our-boxen /opt/boxen/repo cd /opt/boxen/repo git remote rm origin git remote add origin git@github.com:tanihito/my-boxen.git git push -u origin master ## インストールしたいライブラリを追加 vim Puppetfile vim modules/people/manifests/tanihito.pp ## ライブラリのインストール cd /opt/boxen/repo script/boxen --no-fde ## zshrcに追加 [ -f /opt/boxen/env.sh ] && source /opt/boxen/env.sh
トラブルシューティング
- 一度削除したアプリを再インストールしたい
- /var/db/.puppet_compressed_app_installed_${APP_NAME}を削除する
- uild-aux/install-sh: Permission denied
- https://github.com/Homebrew/homebrew/wiki/troubleshootingを確認。私の場合はbrew updateで直った。