LoginSignup
38
19

More than 5 years have passed since last update.

fish で rbenv の初期処理を実行する方法

Last updated at Posted at 2015-11-03

rbenvは0.4.0からfishに対応しています。homebrew で入れている場合は下記を実行してみてください。

brew upgrade rbenv

あとは ~/.config/fish/config.fish

rbenv init - | source

を追加すれば動きます。

なお、oh-my-fishを使っている場合は、

omf install rbenv

で、上のコマンドが勝手にセットアップしてくれます。

38
19
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
38
19