需要設(shè)置:$EDITOR,我用的是atom。
export EDITOR="atom"
然后
bundle open rack
或者
gem open rack
就可以打開gem目錄了。
如果不小心搞壞了文件,可以如下簡單恢復(fù)。
gem pristine activerecord -v 4.2.0
#恢復(fù)所有
gem pristine --all
更多的請參考英文博客
需要設(shè)置:$EDITOR,我用的是atom。
export EDITOR="atom"
然后
bundle open rack
或者
gem open rack
就可以打開gem目錄了。
如果不小心搞壞了文件,可以如下簡單恢復(fù)。
gem pristine activerecord -v 4.2.0
#恢復(fù)所有
gem pristine --all
更多的請參考英文博客