Skip to content

Instantly share code, notes, and snippets.

@erik-megarad
Created March 18, 2012 01:52
Show Gist options
  • Save erik-megarad/2067738 to your computer and use it in GitHub Desktop.
Save erik-megarad/2067738 to your computer and use it in GitHub Desktop.
Terminal 1:
$ bundle exec spork
Using RSpec
Loading Spork.prefork block...
Spork is ready and listening on 8989!
Running tests with args ["--color", "--fail-fast", "--failure-exit-code", "2", "--format", "progress", "--format", "Guard::RSpec::Formatter::NotificationRSpec", "--out", "/dev/null", "--require", "/Users/epeterson/.rvm/gems/rbx-head/gems/guard-rspec-0.6.0/lib/guard/rspec/formatters/notification_rspec.rb", "spec"]...
Done.
[1] 70450 killed bundle exec spork
Terminal 2:
$ bundle exec guard
Guard could not detect any of the supported notification libraries.
Guard is now watching at '/Users/epeterson/Sites/exact'
Guard::RSpec is running, with RSpec 2!
Running all specs
..................
Finished in 5.29 seconds
18 examples, 0 failures
Running all features
Disabling profiles...
..............
3 scenarios (3 passed)
14 steps (14 passed)
0m0.720s
Starting Spork for RSpec, Cucumber
An exception occured in a forked block
An exception occured in a forked block
vm_exec primitive failed (PrimitiveFailure)
Backtrace:
vm_exec primitive failed (PrimitiveFailure)
Backtrace:
Process.perform_exec at kernel/bootstrap/process.rb:11
Kernel(Guard::Spork::SporkInstance)#exec at kernel/common/process.rb:754
Guard::Spork::SporkInstance#env_exec at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-spork-0.5.2/lib/guard/spork
/spork_instance.rb:66
{ } in Guard::Spork::SporkInstance#start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-spork-0.5.2/lib/guard
/spork/spork_instance.rb:28
Process.fork at kernel/common/process.rb:76
Kernel(Guard::Spork::SporkInstance)#fork at kernel/common/process.rb:706
Guard::Spork::SporkInstance#start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-spork-0.5.2/lib/guard/spork
/spork_instance.rb:27
{ } in Symbol#to_proc at kernel/common/symbol.rb:31
Array#each at kernel/bootstrap/array.rb:68
Guard::Spork::Runner#launch_sporks at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-spork-0.5.2/lib/guard/spork
/runner.rb:28
Guard::Spork#start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-spork-0.5.2/lib/guard
/spork.rb:18
{ } in Guard.run_supervised_task at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:387
{ } in Kernel(Module)#catch at kernel/common/throw_catch19.rb:8
Rubinius::ThrownValue.register at kernel/common/throw_catch.rb:10
Kernel(Module)#catch at kernel/common/throw_catch19.rb:7
Guard.run_supervised_task at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:385
{ } in Guard.start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:213
{ } in Guard.run_on_guards at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:319
Array#each at kernel/bootstrap/array.rb:68
{ } in Guard.run_on_guards at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:318
{ } in Kernel(Module)#catch at kernel/common/throw_catch19.rb:8
Rubinius::ThrownValue.register at kernel/common/throw_catch.rb:10
Kernel(Module)#catch at kernel/common/throw_catch19.rb:7
{ } in Guard.run_on_guards at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:317
Array#each at kernel/bootstrap/array.rb:68
Guard.run_on_guards at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:316
Guard.start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:212
Guard::CLI#start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard/cli.rb:75
Thor::Task#run at /Users/epeterson/.rvm/gems/rbx-head
/gems/thor-0.14.6/lib/thor/task.rb:22
Thor::Invocation(Guard::CLI)#invoke_task at /Users/epeterson/.rvm/gems/rbx-head
/gems/thor-0.14.6/lib/thor
/invocation.rb:118
Thor.dispatch at /Users/epeterson/.rvm/gems/rbx-head
/gems/thor-0.14.6/lib/thor.rb:263
Thor::Base::ClassMethods(Class)#start at /Users/epeterson/.rvm/gems/rbx-head
/gems/thor-0.14.6/lib/thor/base.rb:389
Object#__script__ at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/bin/guard:6
Kernel(Object)#load at kernel/common/kernel.rb:576
Object#__script__ at /Users/epeterson/.rvm/gems/rbx-head/bin
/guard:19
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:109
Rubinius::Loader#script at kernel/loader.rb:632
Rubinius::Loade Process.perform_exec at kernel/bootstrap/process.rb:11
Kernel(Guard::Spork::SporkInstance)#exec at kernel/common/process.rb:754
Guard::Spork::SporkInstance#env_exec at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-spork-0.5.2/lib/guard/spork
/spork_instance.rb:66
{ } in Guard::Spork::SporkInstance#start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-spork-0.5.2/lib/guard
/spork/spork_instance.rb:28
Process.fork at kernel/common/process.rb:76
Kernel(Guard::Spork::SporkInstance)#fork at kernel/common/process.rb:706
Guard::Spork::SporkInstance#start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-spork-0.5.2/lib/guard/spork
/spork_instancr#main at kernel/loader.rb:836
e.rb:27
{ } in Symbol#to_proc at kernel/common/symbol.rb:31
Array#each at kernel/bootstrap/array.rb:68
Guard::Spork::Runner#launch_sporks at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-spork-0.5.2/lib/guard/spork
/runner.rb:28
Guard::Spork#start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-spork-0.5.2/lib/guard
/spork.rb:18
{ } in Guard.run_supervised_task at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:387
{ } in Kernel(Module)#catch at kernel/common/throw_catch19.rb:8
Rubinius::ThrownValue.register at kernel/common/throw_catch.rb:10
Kernel(Module)#catch at kernel/common/throw_catch19.rb:7
Guard.run_supervised_task at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:385
{ } in Guard.start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:213
{ } in Guard.run_on_guards at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:319
Array#each at kernel/bootstrap/array.rb:68
{ } in Guard.run_on_guards at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:318
{ } in Kernel(Module)#catch at kernel/common/throw_catch19.rb:8
Rubinius::ThrownValue.register at kernel/common/throw_catch.rb:10
Kernel(Module)#catch at kernel/common/throw_catch19.rb:7
{ } in Guard.run_on_guards at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:317
Array#each at kernel/bootstrap/array.rb:68
Guard.run_on_guards at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:316
Guard.start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard.rb:212
Guard::CLI#start at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/lib/guard/cli.rb:75
Thor::Task#run at /Users/epeterson/.rvm/gems/rbx-head
/gems/thor-0.14.6/lib/thor/task.rb:22
Thor::Invocation(Guard::CLI)#invoke_task at /Users/epeterson/.rvm/gems/rbx-head
/gems/thor-0.14.6/lib/thor
/invocation.rb:118
Thor.dispatch at /Users/epeterson/.rvm/gems/rbx-head
/gems/thor-0.14.6/lib/thor.rb:263
Thor::Base::ClassMethods(Class)#start at /Users/epeterson/.rvm/gems/rbx-head
/gems/thor-0.14.6/lib/thor/base.rb:389
Object#__script__ at /Users/epeterson/.rvm/gems/rbx-head
/gems/guard-1.0.1/bin/guard:6
Kernel(Object)#load at kernel/common/kernel.rb:576
Object#__script__ at /Users/epeterson/.rvm/gems/rbx-head/bin
/guard:19
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:109
Rubinius::Loader#script at kernel/loader.rb:632
Rubinius::Loader#main at kernel/loader.rb:836
ERROR: Could not start Spork server for RSpec, Cucumber after 30 seconds. I will continue waiting for a further 60 seconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment