Octopress Blog

自分のためのまとめブログ

Macの環境構築

herokuのインストール

Macでherokuの開発環境を作る

Xcodeは昔インストールしていた。
rvmのインストールがうまく動かなかったのでOctopressの環境を構築を利用。
homebrewとgitもインストール済み
herokuはgem install herokuでインストールできた。

後は鍵の設定をして表示されている通りコマンドを打てばハロワがでました。

fabricのインストール

pipをインストールしてからfabricを入れる

1
2
3
sudo su -
easy_install pip
pip install fabric

gsed, gawkインストール

gawkはgawkだがgsedはgnu-sedで入れる。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
fukui-no-MacBook-Air:tmp ftakao2007$ brew install gnu-sed
Warning: Your Xcode (4.2.1) is outdated
Please install Xcode 4.6.1.
==> Downloading http://ftpmirror.gnu.org/sed/sed-4.2.2.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/gnu-sed/4.2.2 --program-prefix=g
==> make install
==> Caveats
The command has been installed with the prefix 'g'.
If you do not want the prefix, install using the 'default-names' option.
==> Summary
🍺  /usr/local/Cellar/gnu-sed/4.2.2: 8 files, 356K, built in 31 seconds

fukui-no-MacBook-Air:tmp ftakao2007$ which gsed
/usr/local/bin/gsed

fukui-no-MacBook-Air:tmp ftakao2007$ brew install gawk
Warning: Your Xcode (4.2.1) is outdated
Please install Xcode 4.6.1.
==> Installing gawk dependency: xz
==> Downloading http://tukaani.org/xz/xz-5.0.4.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/xz/5.0.4
==> make install
🍺  /usr/local/Cellar/xz/5.0.4: 58 files, 1.5M, built in 23 seconds
==> Installing gawk
==> Downloading http://ftpmirror.gnu.org/gawk/gawk-4.0.2.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/gawk/4.0.2
==> make
==> make check
==> make install
🍺  /usr/local/Cellar/gawk/4.0.2: 39 files, 1.5M, built in 26 seconds

fukui-no-MacBook-Air:tmp ftakao2007$ which gawk
/usr/local/bin/gawk

Copyright © 2013 - ftakao2007 - Powered by Octopress