Ruby on Rails: / bin / sh: rspec: команда не найдена

Я сейчас прохожу учебное пособие по RoR Майкла Хартла и застрял в Главе 3 при попытке запустить Spork and Guard. При попытке запустить тесты я получаю:

/bin/sh: rspec: command not found

Да, я искал ответ, но не вижу, где находится файл RubyTest.sublime.settings, поэтому я не знаю, как его отредактировать. Может кто-нибудь помочь мне, как исправить мою ошибку?

это мой файл Rubytest.sublime.settings в моей папке пользователя

{
  "erb_verify_command": "bundle exec erb -xT - {file_name} | ruby -c",
  "ruby_verify_command": "bundle exec ruby -c {file_name}",

  "run_ruby_unit_command": "bundle exec ruby -Itest {relative_path}",
  "run_single_ruby_unit_command": "bundle exec ruby -Itest {relative_path} -n     '{test_name}'",

  "run_cucumber_command": "bundle exec cucumber {relative_path}",
  "run_single_cucumber_command": "bundle exec cucumber {relative_path} -l{line_number}",

  "run_rspec_command": "bundle exec rspec {relative_path}",
  "run_single_rspec_command": "bundle exec rspec {relative_path} -l{line_number}",

  "ruby_unit_folder": "test",
  "ruby_cucumber_folder": "features",
  "ruby_rspec_folder": "spec",

  "ruby_use_scratch" : false,
  "save_on_run": false,
  "ignored_directories": [".git", "vendor", "tmp"],

  "hide_panel": false,

  "before_callback": "",
  "after_callback": ""
}

Ответы на вопрос(7)

Ваш ответ на вопрос