王筝的博客
ruby学习

$ EDITOR=vim bundle open devise
$ vim
$ echo $EDITOR

$ vim ~/.bashrc

加上这句 export EDITOR=vim

$ . ~/.bashrc
$ echo $EDITOR
vim
$ bundle open devise

Leave a Reply