You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ rspecc:/ruby/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.User add some examples to (or delete) d:/sites/efiling/spec/models/user_spec.rb(PENDING: Noreasongiven)Pending:
Useraddsomeexamplesto(ordelete)d:/sites/efiling/spec/models/user_spec.rb# No reason given# ./spec/models/user_spec.rb:4Finishedin0.31249seconds1example,0failures,1pendingRandomizedwithseed10437
UPDATE: This seems to be related to #248 -- changes in spec output handling.
With Rails 4.1.0.beta1 and jRuby 1.7.10 on Mac OSX 10.9 I am getting the same behavior. My Gemfile.lock is here. Same behavior when I get spork-rails and spark from their respective github master branches. Thanks for any insight you can provide.
# rspec terminal session
bundle exec rspec --drb spec/models/unit_spec.rb
zsh: correct 'rspec' to 'spec' [nyae]? n
<-- Slave(2) run done!
# Spork output
[master][~/Dev/hbook] bundle exec spork
Using RSpec, Rails
-- Starting to fill pool...
Wait until at least one slave is provided before running tests...
** CTRL+BREAK to stop Spork and kill all ruby slave processes **
Spork is ready and listening on 8989!
Preloading Rails environment
Preloading Rails environment
Loading Spork.prefork block...
Loading Spork.prefork block...
Running tests with args ["--color", "--profile", "--order", "random", "spec/models/unit_spec.rb"]...
<-- take tuple(2); slave.run...
-- build slave 2...
--> DRb magazine_slave_service: 2 provided...
*
Pending:
Unit add some examples to (or delete) /Users/cforcey/Dev/hbook/spec/models/unit_spec.rb
# No reason given
# ./spec/models/unit_spec.rb:4
Top 1 slowest examples (0.002 seconds, 100.0% of total time):
Unit add some examples to (or delete) /Users/cforcey/Dev/hbook/spec/models/unit_spec.rb
0.002 seconds ./spec/models/unit_spec.rb:4
Finished in 0.214 seconds
1 example, 0 failures, 1 pending
Randomized with seed 21535
-- (2);run done
Done.
The line in spec_helper which causes the backtraces is the one which loads environment.rb. When I require that file from an irb console, it is successfully executed.
Activity
cforcey commentedon Feb 16, 2014
UPDATE: This seems to be related to #248 -- changes in spec output handling.
With Rails 4.1.0.beta1 and jRuby 1.7.10 on Mac OSX 10.9 I am getting the same behavior. My Gemfile.lock is here. Same behavior when I get spork-rails and spark from their respective github master branches. Thanks for any insight you can provide.
llimllib commentedon Mar 25, 2014
I get almost the same thing, with Rails 4.0.4, rspec 3.0.0.beta2, and ruby 2.1.1p76 on a Mac.
I actually get even less output than you guys do. The spork server:
In the terminal where I run the client:
I have an odd wrinkle, where if I run spork -d, I get a bunch of backtraces.
The line in spec_helper which causes the backtraces is the one which loads environment.rb. When I require that file from an irb console, it is successfully executed.
this is what my spec_helper.rb looks like.
If I can be of any help debugging, please let me know.
hx commentedon Mar 28, 2014
+1
llimllib commentedon Mar 29, 2014
I created a stupid simple rails app to reproduce the problem.
Can somebody else run spork on this repo and confirm that they do not get output?
In the meantime, I'm working on debugging (knowing nothing about spork)
llimllib commentedon Mar 29, 2014
I have given up and am using zeus instead
joshuaballoch commentedon Apr 16, 2014
I am also getting this. Anyone find a solution yet?
llimllib commentedon Apr 16, 2014
@joshuaballoch use zeus or spring
drobazko commentedon Apr 17, 2014
@llimllib , zeus and spring has no Windows support.
joshuaballoch commentedon Apr 17, 2014
This may be a bit of a hack, but I found this to fix the stdout issue.
add this to the each_run block for spork:
more info at http://stackoverflow.com/questions/22239382/how-can-i-configure-rspec-to-show-output-with-spork