Joe Van Dyk
2008-Aug-23 17:11 UTC
[rspec-users] Upgraded to 2.1 and 1.1.4 from 2.0 and 1.1.3, no output from ''rake spec''
$ rake spec --trace (in /Users/joe/projects/tanga) ** Invoke spec (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:abort_if_pending_migrations ** Execute db:test:prepare ** Invoke db:test:clone_structure (first_time) ** Invoke db:structure:dump (first_time) ** Invoke environment ** Execute db:structure:dump ** Invoke db:test:purge (first_time) ** Invoke environment ** Execute db:test:purge ** Execute db:test:clone_structure ** Execute spec $ Running "script/spec /path/to/spec" also doesn''t give output. Any ideas? I ran "script/generate rspec" and let it overwrite everything.
Pat Parslow
2008-Aug-24 00:01 UTC
[rspec-users] Upgraded to 2.1 and 1.1.4 from 2.0 and 1.1.3, no output from ''rake spec''
Joe Van Dyk wrote:> $ rake spec --trace > (in /Users/joe/projects/tanga) > ** Invoke spec (first_time) > ** Invoke db:test:prepare (first_time) > ** Invoke db:abort_if_pending_migrations (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute db:abort_if_pending_migrations > ** Execute db:test:prepare > ** Invoke db:test:clone_structure (first_time) > ** Invoke db:structure:dump (first_time) > ** Invoke environment > ** Execute db:structure:dump > ** Invoke db:test:purge (first_time) > ** Invoke environment > ** Execute db:test:purge > ** Execute db:test:clone_structure > ** Execute spec > > $ > > > Running "script/spec /path/to/spec" also doesn''t give output. >I am getting the same problem on XP with a fresh install (ruby 1.8.6 patch 111 - not so fresh, I admit) Rails 2.1 rspec 1.1.4 I think the problem may be something to do with not being able to check out the rspec 1.4.1 after cloning the git. It complains that: error: You have local changes to ''examples/stories/game-of-life/behaviour/storie s/CellsWithMoreThanThreeNeighboursDie.story''; cannot switch branches. which is rich as I just downloaded it and haven''t changed anything :-)> Any ideas? I ran "script/generate rspec" and let it overwrite > everything.Ditto... -- Posted via http://www.ruby-forum.com/.
Pat Parslow
2008-Aug-24 11:36 UTC
[rspec-users] Upgraded to 2.1 and 1.1.4 from 2.0 and 1.1.3, no output from ''rake spec''
Pat Parslow wrote: *snip*>> > > I am getting the same problem on XP with a fresh install (ruby 1.8.6 > patch 111 - not so fresh, I admit) Rails 2.1 rspec 1.1.4 > > I think the problem may be something to do with not being able to check > out the rspec 1.4.1 after cloning the git. It complains that: > > error: You have local changes to > ''examples/stories/game-of-life/behaviour/storie > s/CellsWithMoreThanThreeNeighboursDie.story''; cannot switch branches. > > which is rich as I just downloaded it and haven''t changed anything :-) > > >> Any ideas? I ran "script/generate rspec" and let it overwrite >> everything. > > Ditto...OK, so it wasn''t that. I did a git pull and then checked-out 1.1.4 and it still behaved the same way (but it might be nice to tell people that the git clone they get might need updating before it can be checked out - I am trying to work that one out still) It occurred to me that I had the rspec gem installed (this will at least partly give the chance to have a laugh at me...) so I tried putting a require ''rubygems'' in script\spec. Voila, I can now run single tests using ruby script\spec path\to\spec with success. However, rake spec still does nothing (well, nothing visible) The odd thing is, as I was typing this, it occurred to me I had removed the rspec gem when trying to get the plugin to work. So I checked, and, sure enough, no rspec gem. I think I must be a bear of very little brain, because I cannot for the life of me work out what is going on! -- Posted via http://www.ruby-forum.com/.
Joe Van Dyk
2008-Aug-25 23:29 UTC
[rspec-users] Upgraded to 2.1 and 1.1.4 from 2.0 and 1.1.3, no output from ''rake spec''
Any ideas? On Sat, Aug 23, 2008 at 10:11 AM, Joe Van Dyk <joe at pinkpucker.net> wrote:> $ rake spec --trace > (in /Users/joe/projects/tanga) > ** Invoke spec (first_time) > ** Invoke db:test:prepare (first_time) > ** Invoke db:abort_if_pending_migrations (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute db:abort_if_pending_migrations > ** Execute db:test:prepare > ** Invoke db:test:clone_structure (first_time) > ** Invoke db:structure:dump (first_time) > ** Invoke environment > ** Execute db:structure:dump > ** Invoke db:test:purge (first_time) > ** Invoke environment > ** Execute db:test:purge > ** Execute db:test:clone_structure > ** Execute spec > > $ > > > Running "script/spec /path/to/spec" also doesn''t give output. > > Any ideas? I ran "script/generate rspec" and let it overwrite everything. >
Matt Wynne
2008-Aug-25 23:44 UTC
[rspec-users] Upgraded to 2.1 and 1.1.4 from 2.0 and 1.1.3, no output from ''rake spec''
What happens if you run an individual spec file with ruby from the command line? e.g. ruby spec/models/blog_post_spec.rb Do you get any more clues from that? Also bear in mind that script/generate rspec will have overwritten your spec/spec_helper.rb file, where you might have put custom stuff for your project (loading fixtures etc) - do a diff against the version you had before you upgraded and see if there''s anything obvious missing from the new one. cheers, Matt ---- http://blog.mattwynne.net http://songkick.com In case you wondered: The opinions expressed in this email are my own and do not necessarily reflect the views of any former, current or future employers of mine. On 26 Aug 2008, at 00:29, Joe Van Dyk wrote:> Any ideas? > > On Sat, Aug 23, 2008 at 10:11 AM, Joe Van Dyk <joe at pinkpucker.net> > wrote: >> $ rake spec --trace >> (in /Users/joe/projects/tanga) >> ** Invoke spec (first_time) >> ** Invoke db:test:prepare (first_time) >> ** Invoke db:abort_if_pending_migrations (first_time) >> ** Invoke environment (first_time) >> ** Execute environment >> ** Execute db:abort_if_pending_migrations >> ** Execute db:test:prepare >> ** Invoke db:test:clone_structure (first_time) >> ** Invoke db:structure:dump (first_time) >> ** Invoke environment >> ** Execute db:structure:dump >> ** Invoke db:test:purge (first_time) >> ** Invoke environment >> ** Execute db:test:purge >> ** Execute db:test:clone_structure >> ** Execute spec >> >> $ >> >> >> Running "script/spec /path/to/spec" also doesn''t give output. >> >> Any ideas? I ran "script/generate rspec" and let it overwrite >> everything. >> > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users
Joe Van Dyk
2008-Aug-27 14:56 UTC
[rspec-users] Upgraded to 2.1 and 1.1.4 from 2.0 and 1.1.3, no output from ''rake spec''
No, I don''t get any output from that, or by using the spec command. Nothing got overwritten. Joe On Mon, Aug 25, 2008 at 4:44 PM, Matt Wynne <matt at mattwynne.net> wrote:> What happens if you run an individual spec file with ruby from the command > line? > > e.g. > ruby spec/models/blog_post_spec.rb > > Do you get any more clues from that? > > Also bear in mind that script/generate rspec will have overwritten your > spec/spec_helper.rb file, where you might have put custom stuff for your > project (loading fixtures etc) - do a diff against the version you had > before you upgraded and see if there''s anything obvious missing from the new > one. > > cheers, > Matt > ---- > http://blog.mattwynne.net > http://songkick.com > > In case you wondered: The opinions expressed in this email are my own and do > not necessarily reflect the views of any former, current or future employers > of mine. > > > > On 26 Aug 2008, at 00:29, Joe Van Dyk wrote: > >> Any ideas? >> >> On Sat, Aug 23, 2008 at 10:11 AM, Joe Van Dyk <joe at pinkpucker.net> wrote: >>> >>> $ rake spec --trace >>> (in /Users/joe/projects/tanga) >>> ** Invoke spec (first_time) >>> ** Invoke db:test:prepare (first_time) >>> ** Invoke db:abort_if_pending_migrations (first_time) >>> ** Invoke environment (first_time) >>> ** Execute environment >>> ** Execute db:abort_if_pending_migrations >>> ** Execute db:test:prepare >>> ** Invoke db:test:clone_structure (first_time) >>> ** Invoke db:structure:dump (first_time) >>> ** Invoke environment >>> ** Execute db:structure:dump >>> ** Invoke db:test:purge (first_time) >>> ** Invoke environment >>> ** Execute db:test:purge >>> ** Execute db:test:clone_structure >>> ** Execute spec >>> >>> $ >>> >>> >>> Running "script/spec /path/to/spec" also doesn''t give output. >>> >>> Any ideas? I ran "script/generate rspec" and let it overwrite >>> everything. >>> >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
David Chelimsky
2008-Sep-24 12:46 UTC
[rspec-users] Upgraded to 2.1 and 1.1.4 from 2.0 and 1.1.3, no output from ''rake spec''
On Wed, Aug 27, 2008 at 9:56 AM, Joe Van Dyk <joe at pinkpucker.net> wrote:> No, I don''t get any output from that, or by using the spec command. > Nothing got overwritten.Joe - trying to get caught up w/ my mail :) Did you ever get this resolved?> > Joe > > On Mon, Aug 25, 2008 at 4:44 PM, Matt Wynne <matt at mattwynne.net> wrote: >> What happens if you run an individual spec file with ruby from the command >> line? >> >> e.g. >> ruby spec/models/blog_post_spec.rb >> >> Do you get any more clues from that? >> >> Also bear in mind that script/generate rspec will have overwritten your >> spec/spec_helper.rb file, where you might have put custom stuff for your >> project (loading fixtures etc) - do a diff against the version you had >> before you upgraded and see if there''s anything obvious missing from the new >> one. >> >> cheers, >> Matt >> ---- >> http://blog.mattwynne.net >> http://songkick.com >> >> In case you wondered: The opinions expressed in this email are my own and do >> not necessarily reflect the views of any former, current or future employers >> of mine. >> >> >> >> On 26 Aug 2008, at 00:29, Joe Van Dyk wrote: >> >>> Any ideas? >>> >>> On Sat, Aug 23, 2008 at 10:11 AM, Joe Van Dyk <joe at pinkpucker.net> wrote: >>>> >>>> $ rake spec --trace >>>> (in /Users/joe/projects/tanga) >>>> ** Invoke spec (first_time) >>>> ** Invoke db:test:prepare (first_time) >>>> ** Invoke db:abort_if_pending_migrations (first_time) >>>> ** Invoke environment (first_time) >>>> ** Execute environment >>>> ** Execute db:abort_if_pending_migrations >>>> ** Execute db:test:prepare >>>> ** Invoke db:test:clone_structure (first_time) >>>> ** Invoke db:structure:dump (first_time) >>>> ** Invoke environment >>>> ** Execute db:structure:dump >>>> ** Invoke db:test:purge (first_time) >>>> ** Invoke environment >>>> ** Execute db:test:purge >>>> ** Execute db:test:clone_structure >>>> ** Execute spec >>>> >>>> $ >>>> >>>> >>>> Running "script/spec /path/to/spec" also doesn''t give output. >>>> >>>> Any ideas? I ran "script/generate rspec" and let it overwrite >>>> everything. >>>> >>> _______________________________________________ >>> rspec-users mailing list >>> rspec-users at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/rspec-users >> >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >