Created
August 26, 2011 12:05
-
-
Save ppworks/1173279 to your computer and use it in GitHub Desktop.
"Could not start Spork server for RSpec" when guard start.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% guard start | |
Guard is now watching at '/Path/To/Your/Project/Root' | |
Starting Spork for RSpec | |
Using RSpec | |
Preloading Rails environment | |
Loading Spork.prefork block... | |
ERROR: Could not start Spork server for RSpec. Make sure you can use it manually first. | |
Guard::RSpec is running, with RSpec 2! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Guardfile b/Guardfile | |
index 90843a8..6ffae21 100644 | |
--- a/Guardfile | |
+++ b/Guardfile | |
@@ -1,7 +1,7 @@ | |
# A sample Guardfile | |
# More info at https://github.com/guard/guard#readme | |
-guard 'spork', :cucumber_env => { 'RAILS_ENV' => 'test' }, :rspec_env => { 'RAILS_ENV' => 'test' } do | |
+guard 'spork', :wait => 60, :cucumber_env => { 'RAILS_ENV' => 'test' }, :rspec_env => { 'RAILS_ENV' => 'test' } do | |
watch('config/application.rb') | |
watch('config/environment.rb') | |
watch(%r{^config/environments/.+\.rb$}) |
helped me too, thanks
👍
Helped me too! Thanks!!!
👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, this helped me getting rid of
ERROR: Could not start Spork server for RSpec. Make sure you can use it manually first.
!