Skip to content

Instantly share code, notes, and snippets.

## readline
```
> brew install readline
> brew link readline --force (= シンボリックリンクをつける)
> brew --prefix readline (= 場所を確認)
> set RUBY_CONFIGURE_OPTS "--with-deadline-dir=(brew —prefix readline)" (fishの場合)
> rbenv install 2.5.0
```
@akinogu
akinogu / rbenv.txt
Created May 7, 2018 12:45
Ruby install using anyenv (shell -> fish)
- install rbenv
```
anyenv install rbenv
```
- update fish config file
通常の記述だとエラーになってしまうため、↓のように記述。
```
# rbenv
set -x RBENV_ROOT "$HOME/.anyenv/envs/rbenv"
@akinogu
akinogu / node.js
Last active January 8, 2018 09:17
### npm
#### コマンド-install
このコマンドにより、node-modulesディレクトリが作成され、
ライブラリがインストールされる。
- current directory only
```
npm install [???]
```
- install global