- 追加された行はこの色です。
- 削除された行はこの色です。
-Node.jsについて
*インストール [#m55df346]
nodebrewを使うと自動でインストールできるらしい。
nodebrewを使うとrbenvのようにnode.jsのバージョンを選択できる。
**nodebrew install [#z7871826]
*nodebrew [#e66896f7]
**install [#z7871826]
curl -L https://raw.githubusercontent.com/hokaccha/nodebrew/master/nodebrew | perl - setup
**node.jsのインストール [#b09ce3ee]
-当たり前だが、gccが必要。
Node.js configure error: No acceptable C compiler found!
Please make sure you have a C compiler installed on your system and/or
consider adjusting the CC environment variable if you installed
it in a non-standard prefix.
python ./configure
Node.js configure error: No acceptable C compiler found!
Please make sure you have a C compiler installed on your system and/or
consider adjusting the CC environment variable if you installed
it in a non-standard prefix.
python tools/gyp_node.py -f make
gyp: Undefined variable node_tag in /home/buildusr01/.nodebrew/src/v0.10.27/node-v0.10.27/node.gyp
make: *** [out/Makefile] Error 1
**usage [#vda2cd06]
|nodebrew ls|show version list(local)|
|nodebrew ls-remote|show all version(remote)|
*設定など [#ke2e15d4]