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

前端 未结 8 632
情话喂你
情话喂你 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:33

    Now the RubyTest package has a configuration option called "check_for_rvm" that is disabled by default.

    You can edit your ~/.config/sublime-text-2/Packages/RubyTest/RubyTest.sublime-settings file and set it to true. This worked for me without doing anything else.

    Update: If you are using PackageControl you might need to reinstall the RubyTest package, instead of just updating it.

提交回复
热议问题