veldtmana
(veldtmana)
January 12, 2011, 11:46am
1
Hi,
As stated in the subject I require to set up the following:
Spork + Rspec on Windows using Rails3
It looks as if rspec is not Rails 3 ready yet and Spork does not play
nicely with Windows.
Is there a way to hack it all together or some viable alternative? the
time to run rake spec I killing me!
Any tips would be much appreciated
Regards,
Alex
Rspec is compatible with Rails 3. https://github.com/rspec/rspec-rails
Have you looked at autotest (part of ZenTest) to save having to rake spec all the time. I’m sure I came across a windows Rspec, Autotest and Snarl notifications tutorial on the web once. A quick search will probably find it.
David White
Robin
(Robin)
January 12, 2011, 12:40pm
3
After quite some time, I got my spork working with cygwin. what
environment are you using and what errors do you get?
veldtmana
(veldtmana)
January 12, 2011, 1:52pm
4
Sorry, typed the wrong thing:
I meant to say Spork is not rails 3 ready...
In the meantime I have managed to get Spork running on the app with
some hacks, however I am not sure how to get rspec to use it:
1) Modified spec_helper file
2) Added "-drb" to new line in .rspec file
veldtmana
(veldtmana)
January 12, 2011, 1:55pm
5
Hi, Spork is running using a slightly modified version of the
0.9.0.rc2 gem
everything looks fine now... however I am not sure what to do next to
make "rake spec" use it.
I have modified the spec_helper and .rspec files
veldtmana
(veldtmana)
January 12, 2011, 3:12pm
6
Hi David, I have installed autotest, I will look at Snarl
11155
(-- --)
October 5, 2011, 7:41am
7
Veldtmana!
You must be using 2 consoles: one for spork and one for rake spec.