Search code examples
ruby-on-railsvimrspecspork

How to use Rails.vim and spork?


If I'm in a rails project, editing with rails.vim, how can I get :Rake to run the specs through Spork?

Its largely just a matter of making :Rake aware of the project's specs/spec.opts file via the "-o" flag?


Solution

  • Turns out that Rails.vim will use Spork if you add the --drb option to your spec.opts file automatically.