Rails4でActivityRecordを拡張し、気合を入れてくれるプラグイン acts_as_kiai を開発したのでその時のメモです。
- 仕様を決める
- 開発を始める
- コアを書く
$ brew install coreutils | |
$ gdu -b -d 1 | sort -n | gnumfmt --to=iec --suffix=B --padding=5 |
$ fuser ~/.Trash/hogefile | |
/Users/inoue/.Trash/hogefile: 51369 | |
$ kill -9 51369 |
# yum groupremove "X Window System" "Desktop" |
$ brew upgrade rbenv | |
$ rbenv -v | |
rbenv 0.4.0 | |
$ brew upgrade ruby-build | |
$ ruby-build --version | |
ruby-build 20130628 | |
$ rbenv install --list | grep 2.0.0-p | |
2.0.0-p0 | |
2.0.0-p195 | |
2.0.0-p247 |
$ VBoxManage modifyhd <VDIのパス> --resize 60000 | |
(新しいサイズはMBで指定) |
$ ruby -v | |
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.2.0] | |
$ gem -v | |
1.8.23 | |
$ rails -v | |
Rails 3.2.8 | |
$ gem update --system | |
$ gem -v | |
1.8.24 | |
$ gem update rails |
# Install sphinx by easy_install | |
$ sudo easy_install sphinx | |
# Clone django-docs-ja from github | |
$ git clone git://github.com/django-docs-ja/django-docs-ja.git | |
$ cd django-docs-ja | |
$ make html | |
$ open _build/html/index.html |
# Install Python 2.7.3 via Homebrew | |
$ brew install python | |
$ echo 'export PATH=/usr/local/bin:$PATH' >> ~/.bash_profile | |
$ source ~/.bash_profile | |
$ python --version | |
Python 2.7.3 | |
# Install Django 1.4.3 by easy_install | |
$ sudo easy_install django | |
$ sudo easy_install virtualenv |