我正在关注 Michael Hartl 的教程并运行了这 2 块代码
$ rvm get head && rvm reload
$ chmod +x $rvm_path/hooks/after_cd_bundler
$ cd ~/rails_projects/sample_app
$ bundle install --without production --binstubs=./bundler_stubs
现在,当我在我的第一个终端窗口上运行 Guard 时,一切都很好,但是当我打开另一个终端窗口并运行完全相同的命令时,它抱怨我在 Bundler 之外运行 Guard。为什么呢?
仍然无法发布图片,但这是 2 个单独的终端窗口 终端 1 终端 2的屏幕截图
谢谢!瑞安