我正在尝试按照rails指南
安装rubytest我已将其引导至我的rspec文件:
{
"erb_exec": "erb",
"ruby_unit_exec": "ruby",
"ruby_cucumber_exec": "cucumber -f pretty",
"ruby_rspec_exec": "/Users/snook3/.rvm/gems/ruby-1.9.3-p194/bin/rspec",
"ruby_unit_folder": "test",
"ruby_cucumber_folder": "features",
"ruby_rspec_folder": "/Users/snook3/.rvm/gems/ruby-1.9.3-p194/bin/"
}
但现在它给了我这些错误:
/bin/sh: line 0: cd: /Users/snook3/rails_projects/sample_app/spec/requests/static_pages_spec.rb: Not a directory
我该如何解决这个问题?
教程http://ruby.railstutorial.org/chapters/static-pages#sec:tests_inside_sublime_text的这一部分命中了Command-Shift-R。我到目前为止,我现在不想放弃。
答案 0 :(得分:0)
从命令行运行Sublime,看看是否能解决问题。