Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 860
Matt Darby Avatar asked Feb 28 '11 01:02

Matt Darby


1 Answers

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

like image 171
Matt Darby Avatar answered Oct 23 '22 19:10

Matt Darby