Ruby on Rails: /bin/sh: rspec: command not found

前端 未结 8 796
情话喂你
情话喂你 2020-12-31 08:20

I\'m currently going through Michael Hartl\'s RoR tutorial and am stuck on Chapter 3 when trying to run Spork and Guard. When trying to run tests I get:

/bin/s

8条回答
  •  清歌不尽
    2020-12-31 08:56

    For anybody using rbenv, there is also this setting in rubyTest.sublime-settings which will do the trick:

    "check_for_rbenv": true
    

提交回复
热议问题