Spork不提供文件

时间:2013-12-02 06:39:29

标签: ruby-on-rails spork

我已安装spork与rspec一起使用来调试Ruby on Rails应用程序。看起来它正在加载,但后来我得到了一堆gobbledegook,服务器不提供文件。这是结果。任何人都可以帮忙吗?

$ spork
Using RSpec, Rails
  -- Rinda Ring Server listening for connections...

  -- 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!
   -- build slave 1...
   -- build slave 2...
Preloading Rails environment
Preloading Rails environment
Loading Spork.prefork block...Loading Spork.prefork block...

c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_specification.rb:3
5:in `resolve_string_connection': undefined method `fetch' for false:FalseClass (NoMethodError)
        from c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_speci
fication.rb:25:in `spec'
        from c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_speci
fication.rb:130:in `establish_connection'
        from c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1c.:9/.R1a/iglesmIsn/satcatlilveerr/eRcuobryd1-.39..23./1l3i/bl/irbu/bayc/tgievmes_/r1e.c9o.r1
d//greamisl/taicet.irvbe:r8e2c:oirnd -`3b.l2o.c1k3 /(l2i bl/eavcetlisv)e _irne c<ocrlda/scso:nRnaeiclttiioen>_'a
apt     efrrso/ma bcs:t/rRaacitl/scIonnsnteacltlieorn/_Rsupbeyc1i.f9i.c3a/tliiobn/.rrubb:y3/5g:eimns /`1r.e9s.o1l/vgee_msst/raicntgi_vceosnunpepcotri
to-n3.2'.13/:l ib/uancdteifvien_esdu pmpeotrhto/dl a`zfye_tlcoha'd _fhooro kfsa.lrsbe::3F6a:lisne C`liansstasnce _(evaNlo'M
tho     dfErrormo c:r/Ra)i
sIn     sftraolml ecr://RRuabiyl1s.I9n.s3t/allilbe/rr/uRbuyb/yg1e.m9s./31/.l9i.b1//rguebmys//gaecmtsi/v1e.s9u.p1p/ogretm-s3/.a2c.t1i3v/elriebc/oarcdt
-i3v.e2_.s1u3p/ploirbt//alcatziyv_el_oraedc_ohrodo/kcso.nrnbe:c3t6i:oinn_ a`deaxpetceurtse/_ahbosotkr'act
con     nfercotmi ocn:_/sRpaeiclisfIincsattailolne.rr/bR:u2b5y:1i.n9 .`3s/pleicb'/ru
y/g     efmrso/m1 .c9:./1R/agielmssI/nascttailvleesru/pRpuobryt1-.39..23./1l3i/bl/irbu/bayc/tgievmes_/s1u.p9p.o1r/tg/elmasz/ya_cltoiavde_rheocookrsd.
-r3b.:24.31:3i/nl i`bb/laocctki vien_ rreucno_rldo/acdo_nhnoeocktsi'o
_ad     afprtoemr sc/:a/bRsatirlascItn/sctoanlnleecrt/iRounb_ys1p.e9c.i3f/ilciabt/irounb.yr/bg:e1m3s0/:1i.n9 .`1e/sgteambsl/iascht_icvoensnuepcptoiro
tn-'3
2.1     3f/rloimb /ca:c/tRiaviel_ssIunpsptoarltl/elra/zRyu_blyo1a.d9_.h3o/olkisb./rrbu:b4y2/:gienm s`/e1a.c9h.'1/g
ms/     afcrtoimv ecr:e/cRoaridl-s3I.n2s.t1a3l/lleirb//Raucbtyi1v.e9_.r3e/cloirbd//rruabiyl/tgieem.sr/b1:.892.:1i/ng e`mbsl/oacckt (2i vleesvuepls)p
oirnt -<3.c2l.a1s3s/:lRiabi/latcitei>v'e
sup     pforrotm/ lca:z/yR_aliolasdI_nhsotoaklsl.errb/:R4u2b:yi1n. 9`.r3u/nl_ilbo/ardu_bhyo/ogkesm's/1
9.1     /fgreomms /ca:c/tRiavielssuIpnpsotratl-l3e.r2/.R1u3b/yl1i.b9/.a3c/tliivbe/_rsuubpyp/ogretm/sl/a1z.y9_.l1o/agde_mhso/oakcst.irvbe:r3e6c:oirnd
-`3i.n2s.t1a3n/clei_be/vaaclt'i
e_r     efcroormd /cb:a/sRea.irlbs:I7n2s0t:ailnl e`r</tRoupb y(1r.e9q.u3i/rleidb)/>r'uby
gem     sf/r1o.m9 .c1://gReamisl/saIcntsitvaelslueprp/oRrutb-y31..29..133//lliibb//raucbtyi/vgee_mssu/p1p.o9r.t1//lgaezmys_/lrosapde_ch-oroakisl.sr-b
3:.306.:0i.nb e`teax1e/cluitbe/_rhsopoekc'/ra
ls/     efxrtoemn sci:o/nRsa/ialcstIinvset_arlelceorr/dR/ubbays1e..9r.b3:/2l5i:bi/nr u`b<ym/ogdeumlse/:1E.x9t.e1n/sgieomnss/>a'c
ive     sfurpopmo rct:-/3R.a2i.l1s3I/nlsitba/lalcetri/vReu_bsyu1p.p9o.r3t//lliabz/yr_ulboya/dg_ehmoso/k1s..9r.b1:/4g3e:misn/ r`sbpleocc-kr aiinl sr-u
3n._0l.o0a.db_ehtoao1k/sl'i
/rs     pferco/mr aci:l/sR/aeixltseInnssitoanlsl/earc/tRiuvbey_1r.e9c.o3r/dl/ibba/sreu.bryb/:g4e:misn/ 1`.<9m.o1d/ugleem:sR/aaicltsi>v'e
upp     ofrrto-m3 .c2:./1R3a/illisbI/nascttailvlee_rs/uRpupboyr1t./9l.a3z/yl_ilbo/ardu_bhyo/ogkesm.sr/b1:.492.:1i/ng e`mesa/crhs'pec
rai     lfsr-o3m. 0c.:0/.Rbaeitlas1I/nlsitba/lrlsepre/cR/urbayi1l.s9/.e3x/tleinbs/irounbsy//agcetmisv/e1_.r9e.c1o/rgde/mbsa/saec.tribv:e2s:uipnp o`r<
tm-o3d.u2l.e1:3R/Slpiebc/>a'c
ive     _fsruopmp ocr:t//Rlaaizlys_Ilnosatda_lhloeork/sR.urbby:14.29:.i3n/ l`irbu/nr_ulboya/dg_ehmoso/k1s.'9.1
gem     sf/rrosmp ecc:-/rRaaiillss-I3n.s0t.a0l.lbeert/aR1u/blyi1b.9/.r3s/pleicb//rrauiblys//geexmtse/n1s.i9o.n1s//gaecmtsi/vaec_trievceorredc/obrads-
e3..r2b.:113:/ilni b`/<atcotpi v(er_erqeuciorredd/)b>a's
.rb     :f7r2o0m: icn: /`R<atiolps I(nrsetqaulilreerd/)R>u'by1
9.3     /flriobm/ rcu:b/yR/agielmssI/n1s.t9a.l1l/egre/mRsu/bayc1t.i9v.e3s/ulpipbo/rrtu-b3y./2g.e1m3s//l1i.b9/.a1c/tgievmes_/sruspppeocr-tr/adielpse-n
3d.e0n.c0i.ebse.trab1:/2l5i1b:/irns p`erce/qruaiirles'/
xte     nfsrioomn sc/:a/cRtaiivles_Irnesctoarldl/ebra/sReu.bryb1:.295.:3i/nl i`b</mroudbuyl/eg:eEmxst/e1n.s9i.o1n/sg>e'm
/a      cftriovme scu:p/pRoaritl-s3I.n2s.t1a3l/lleirb//Raucbtyi1v.e9_.s3u/plpiobr/tr/udbeyp/egnedmesn/c1i.e9s..1r/bg:e2m5s1/:risnp e`cb-lroacikl si-n
3 .r0e.q0u.ibreet'a1/
ib/     rfsrpoemc /cr:a/iRlasi/lesxItnesntsailolnesr//aRcutbiyv1e._9r.e3c/olridb//brausbey./rgbe:m4s:/i1n. 9`.<1m/ogdeumlse/:aRcatiilvse>s'u
por     tf-r3o.m2 .c1:3//Rlaiibl/saIcntsitvael_lseurp/pRourbty/1d.e9p.e3n/dleinbc/ireusb.yr/bg:e2m3s6/:1i.n9 .`1l/ogaedm_sd/erpsepnedce-nrcayi'l
-3.     0f.r0o.mb ect:a/1R/aliilbs/Irnsspteacller//Rubrya1i.l9s./3e/xltiebn/sriuobnys//gaecmtsi/v1e._9r.e1c/ogredm/sb/aascet.irvbe:s2u:pipno r`t<-m3o
.d2u.l1e3:/RlSipbe/ca>c't
ve_     sfurpopmo rct://dReapielnsdIennsctiaelsl.errb/:R2u5b1y:1i.n9 .`3r/elqiubi/rreu'b
/ge     mfsr/o1m. 9c.:1//Rgaeimlss/Irnsspteacl-lreari/lRsu-b3y.10..90..3b/eltiab1//rluibby//rgsepmesc//1r.a9i.l1s//geexmtse/nrssipoencs-/raacitlisv-e
3_.r0e.c0o.rbde/tbaa1s/el.irbb/:r1s:pienc /`r<atiolps /(erxetqeunisrieodn)s>.'r
:1:     ifnr o`m< tco:p/ R(arielqsuIinrsetda)l>l'er/
uby     1f.r9o.m3 /cl:i/bR/ariulbsIyn/sgtealmsl/e1r./9R.u1b/yg1e.m9s./3a/cltiibv/ersuubpyp/ogretm-s3/.12..91.31//lgiebm/sa/catcitviev_essuuppppoorrtt
/-d3e.p2e.n1d3e/nlciibe/sa.crtbi:v2e5_1s:uipnp o`rrte/qdueipreen'd
nci     efsr.ormb :c2:5/1R:aiinl s`Irnesqtuailrlee'r
Ru      bfyr1o.m9 .c3://lRiabi/lrsuIbnys/tgaelmlse/r1/.R9u.b1y/ge1m.s9/.a3c/tliivbe/sruupbpyo/rgte-m3s./21..193./1l/igbe/masc/taicvtei_vseuspuppoprot
r/td-e3p.e2n.d1e3n/cliiebs/.arcbt:i2v5e1_:siunp p`obrlto/cdke pienn dreenqcuieisr.er'b:25
:in      f`rbolmo cck: /iRna irlesqIunisrtea'lle
/Ru     bfyr1o.m9 .c3://lRiabi/lrsuIbnys/tgaelmlse/r1/.R9u.b1y/1g.e9m.s3//alcitbi/vreusbuyp/pgoermts-/31..29..113//gleimbs//aaccttiivvee_ssuuppppoorr
tt-/3d.e2p.e1n3d/elnicbi/easc.tribv:e2_3s6u:pipno r`tl/odaedp_ednedpeenncdieensc.yr'b
236     :firno m` lco:a/dR_adielpseInndsetnaclyl'e
/Ru     bfyr1o.m9 .c3://lRiabi/lrsuIbnys/tgaelmlse/r1/.R9u.b1y/1g.e9m.s3//alcitbi/vreusbuyp/pgoermts-/31..29..113//gleimbs//aaccttiivvee_ssuuppppoorr
tt-/3d.e2p.e1n3d/elnicbi/easc.tribv:e2_51s:uipn p`orretq/udierpee'n
enc     iferso.mr bc::2/5R1a:iilns I`nrsetqaulilreer'/
uby     1f.r9o.m3 /cl:i/bR/ariulbsyI/ngsetmasl/l1e.r9/.R1u/byg1e.m9s./3r/slpiebc/-rruabiyl/sg-e3m.s0/.10..9b.e1t/ag1e/mlsi/br/srpsepce-cr/arialisl-s3
/e.x0t.e0n.sbieotnas1./rlbi:b1/:risnp e`c</troapi l(sr.erqbu:i9r:eidn) >`'<to
 (r     efqruoimr ecd:)/>R'a
ls      Ifnrsotma lcl:e/rR/aRiulbsyI1n.s9t.a3l/lleirb//Rruubbyy1/.g9e.m3s//l1i.b9/.r1u/bgye/mgse/masc/t1i.v9e.s1u/pgpeomrst/-a3c.ti2v.es1u3p/ploirbt/
-a3c.t2i.v1e3_/sluipbp/oarctt/idveep_esnudpepnocrite/sd.erpbe:n2d5e1n:ciine s`.rrebq:u2i5r1e:'i
 `r     efqruoimr ec':
Ra      iflrsoImn sct:a/lRlaeirl/sRIunbsyt1a.l9l.e3r//lRiubb/yr1u.b9y./3g/elmisb//1r.u9b.y1//ggeemmss//1a.c9t.i1v/egseumpsp/oarctt-i3v.e2s.u1p3p/olri
tb-/3a.c2t.i1v3e/_lsiubp/paocrtti/vdee_pseunpdpeonrcti/edse.prebn:d2e5n1c:iiens .`rbbl:o2c5k1 :iinn  r`ebqluoicrke 'in
equ     ifrreo'm c
/Ra     iflrsoImn sct:a/lRlaeirl/sRIunbsyt1a.l9l.e3r//lRiubb/yr1u.b9y./3g/elmisb//1r.u9b.y1//ggeemmss//1a.cti9v.1/egseumpsp/oarctt-i3v.e2s.u1p3p/olri
tb-/3a.c2t.i1v3e/_lsiubp/paocrtti/vdee_pseunpdpeonrcti/edse.prebn:d2e3n6c:iiens .`rlbo:a2d3_6d:eipne n`dleonacdy_'d
pe      nfdreonmc yc':
Rai     lfsrIonms tca:l/lReari/lRsuIbnys1t.a9l.l3e/rl/iRbu/bryu1b.y9/.g3e/mlsi/b1/.r9u.b1y//ggeemmss//a1c.t9i.v1e/sguepmpso/ratc-t3i.v2e.s1u3p/ploirb
t/-a3c.t2i.v1e3_/sluipbp/oarctt/idveep_esnudpepnocrite/sd.erpbe:n2d5e1n:ciine s`.rrebq:u2i5r1e:'i
 `r     efqruoimr ec':
Rai     lfsrIonms tCa:l/lUesre/rRsu/bRyo1b.e9r.t3 /Bl.i bM/irlulbeyr//gMeym sD/o1c.u9m.e1n/tsg/eAmpst/arnsap eSct-urdaiiol s3- 3W.o0r.k0s.pbaectea/1f
/ilrisbt/_raspppe/cs/preaci/lssp.ercb_:h9e:lipne r`.<rtbo:p5 3(:rienq u`i<rteodp) >('r
qui     rferdo)m> 'c
/Ra     iflrsoImn sct:a/lRlaeirl/sRIunbsyt1a.l9l.e3r//lRiubb/yr1u.b9y./3g/elmisb//1r.u9b.y1//ggeemmss//1a.c9t.i1v/egseumpsp/oarctt-i3v.e2s.u1p3p/olri
tb-/3a.c2t.i1v3e/_lsiubp/paocrtti/vdee_pseunpdpeonrcti/edse.prebn:d2e5n1c:iiens .`rrbe:q2u4i5r:ei'n
`lo     afdr'om
:/R     afirlosmI ncs:t/aRlalielrs/IRnusbtya1l.l9e.r3//Rluibby/1r.u9b.y3//gleimbs//r1u.b9y./1g/egmesm/s1/.a9c.t1i/vgeesmus/papcotritv-e3s.u2p.p1o3r/t
l-i3b./2a.c1t3i/vlei_bs/uapcptoirvte/_dseuppepnodretn/cdieepse.nrdbe:n2c5i1e:si.nr b`:b2l4o5c:ki ni n` brleoqcuki rien' lo
d'
fro     mf rco:m/ Rca:i/lRsaIinlsstIanlsltearl/lReurb/yR1u.b9y.13./9l.i3b//lriubb/yr/ugbeym/sg/e1m.s9/.11./9g.e1m/sg/eamcst/iavcetsiuvpepsourptp-o3r.
t2-.31.32/.l1i3b//laicbt/iavcet_isvuep_psourptp/odretp/ednedpeenncdieensc.irebs:.2r3b6::2i3n6 :`ilno a`dl_odaedp_ednedpeenncdye'n
y'
fr      ofmr ocm: /cR:a/iRlasiIlnssItnasltlaelrl/eRru/bRyu1b.y91..39/.l3i/bl/irbu/bryu/bgye/mgse/1m.s9/.11.9/.g1e/mgse/masc/taicvteisvuepspuoprpto-r3
t.-23..123./1l3i/bl/iabc/taicvtei_vseu_pspuoprpto/rdte/pdeenpdeenndceinecsi.ersb.:r2b5:12:4i5n: i`nr e`lqouaidr'e'

                ffrroomm  Cc:://URsaeirlss/IRnosbtearltl eBr./ RMuiblyl1e.r9/.M3y/ lDiobc/urmuebnyt/sg/eAmpst/a1n.a9 .S1t/ugdeimos /3s pWoorrkk-s1p.a
0c.e0/rfci4r-sxt8_6a-pmpi/nsgpwe3c2//slpiebc/_shpeolrpke/rt.ersbt:_5f3r:aimne w`o<rtko.pr b(:r1e3q8u:iirne d`)b>l'o
k (     2f rloemv ecl:s/)R aiinl spIrnesltoaaldl'er/
ub      yf1r.om c9:./Ra3i/llsiIbn/srtuablyl/egre/mRsu/b1y.19..91./3g/elmisb//arcutbiyv/egseumpsp/o1r.t9-.31./2g.e1m3s//lsipbo/rakc-triaviel_ss-u4p.p0
o.r0t//ldiebp/esnpdoernkc/iaepsp._rfbr:a2m4e5w:oirnk /`rlaoialds'.rb
8:i     nf r`opmr ecl:o/aRda'ils
nst     aflrloemr /cR:u/bRya1i.l9s.I3n/sltiabl/lreurb/yR/ugbeym1s./91..39/.l1i/bg/ermusb/ya/cgteimvse/s1u.p9p.o1r/tg-e3m.s2/.s1p3o/rlki-b1/.a0c.t0irv
ce4_-sxu8p6p-omritn/gdwe3p2e/nldiebn/csipeosr.kr/bt:e2s4t5_:firna m`ebwloorckk. ribn: 1l3o4a:di'n
`bl     ofcrko mi nc :p/rRealiolasdI'n
ta      frlolme rc/:R/uRbayi1l.s9I.n3s/tlailbl/erru/bRyu/bgye1m.s9/.13./9l.i1b//greumbsy//agcetmisv/e1s.u9p.p1o/rgte-m3s./2s.p1o3r/kl-i1b./0a.c0tricv
4e-_xs8u6p-pmoirntg/wd3e2p/elnidbe/nscpioersk..rrbb::26326::iinn  ``elxoeacd__pdreepfeonrdke'n
y'
rom      fcr:o/mR aci:l/sRIanisltsaIlnlsetra/lRluebry/1R.u9b.y31/.l9i.b3//rluibby//rguebmys//g1e.m9s./11/.g9e.m1s//gsepmosr/ka-c1t.i0v.e0srucp4p-oxr8
t6--3m.i2n.g1w33/2l/ilbi/ba/cstpiovrek_/stuepspto_rftr/admeepweonrdke.nrcbi:e1s2.0r:bi:n2 4`5p:rienl o`aldo'ad'

        fr      omf c:r/oRma icl:s/IRnasitlaslIlnesrt/aRlulbeyr1/.R9u.b3y/1l.i9b./3r/ulbiyb//greumbsy//1g.e9m.s1//1g.e9m.s1//sgpeomrsk/-s1p.o0r.k0-r1
c.40-.x08r6c-4m-ixn8g6w-3m2i/nlgiwb3/2s/ploirbk//srpuonr_ks/ttreastte_gfyr/ammaegwaozrikn.er/bm:a1g3a8z:iinne _`sbllaovcek. r(b2: 2l7e:vienl s`)p rie
nl oparde'l
ad'     fr
m c     :f/rRoami lcs:I/nRsatiallslIenrs/tRaulblye1r./9R.u3b/yl1i.b9/.r3u/blyi/bg/ermusb/y1/.g9e.m1s//g1e.m9s./1s/pgoermks-/1s.p0o.r0kr-cr4a-ixl8s6--
4m.i0n.g0w/3l2i/bl/isbp/osrpko/rakp/pr_ufnr_asmterwaotrekg/yr/amialgsa.zribn:e8/:miang a`zpirneel_osalda've.
b:1     5f:rionm  `ci:n/iRtaiiallsiIznes'tal
er/     Rfurboym1 .m9a.g3a/zliinbe/_rsulbayv/eg_epmrso/v1i.d9e.r1./rgbe:m2s2/:sipno r`kn-e1w.'0.0
c4-     xf8r6o-mm imnaggwa3z2i/nlei_bs/lsapvoer_kp/rtoevsitd_efrr.armbe:w2o2r:ki.nr b`:<1m3a4i:ni>n'
block in preload'
        from c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc4-x86-mingw32/lib/spork.rb:62:in `exec_prefork'
        from c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc4-x86-mingw32/lib/spork/test_framework.rb:120:in `preload'
        from c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc4-x86-mingw32/lib/spork/run_strategy/magazine/magazine_slave.rb:27:in
`preload'
        from c:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc4-x86-mingw32/lib/spork/run_strategy/magazine/magazine_slave.rb:15:in
`initialize'
        from magazine_slave_provider.rb:22:in `new'
        from magazine_slave_provider.rb:22:in `<main>'

ring_server.rb:11:in `join': Interrupt
        from ring_server.rb:11:in `<main>'

1 个答案:

答案 0 :(得分:2)

试试此链接。它正确地处理了我的项目:

http://www.rubyinside.com/how-to-rails-3-and-rspec-2-4336.html