BrewでNginx1.4.1から1.4.5へアップデートしようとしたらエラーが出た
BrewでNginx1.4.1から1.4.5へアップデートしようとしたらエラーが出ました。
Error: File exists - /usr/local/var/log/nginx
Warning: Bottle installation failed: building from source.
==> Downloading http://nginx.org/download/nginx-1.4.5.tar.gz
Already downloaded: /Library/Caches/Homebrew/nginx-1.4.5.tar.gz
==> ./configure --prefix=/usr/local/Cellar/nginx/1.4.5 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-p
==> make
==> make install
test -d '/usr/local/var/run' || mkdir -p '/usr/local/var/run'
test -d '/usr/local/var/log/nginx' || mkdir -p '/usr/local/var/log/nginx'
mkdir: /usr/local/var/log/nginx: Not a directory
make[1]: *** [install] Error 1
make: *** [install] Error 2READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
解決方法は・・・
$ rm /usr/local/var/log/nginx
$ brew upgrade
これだけで良いみたい。
$ nginx -v
nginx version: nginx/1.4.5
T.O.K.の4everとBig MountainのBest
昔はレゲーをよく聞いていて、T.O.K. や Big Mountain などが好きでした。
ここ最近はケツメイシやDef Tech などがお気に入りでよく聞いていましたが、
最近遠出が多くなってきたため音楽を聞くことが増えて、
今手持ちの音楽だけだと飽きてきた感があったので、
久々に出たT.O.K.の4everやBig MountainのBestなど購入してみました。
なつかしさ半分・やっぱりいい曲気持ちいいが半分といったところかな。
買ってよかった。
国内盤CD スペシャルプライス【送料無料】 T.O.K. ティーオーケー / 4ever 【CD】 |
【Aポイント+メール便送料無料】ビッグ・マウンテン Big Mountain / Best Of (輸入盤CD)【YDKG... |
Ruby 数値を文字列に変換するとき
count = 48
count.to_s
数値(のオブジェクト)にto_sを付けるだけ。