Hi, I tried to invoke rake from a Command Window, with a couple of failures and one success. I haven''t consciously done anything to my system to impact rake Any idea what''s going on? First try: K:\>rake --trace rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ lib/rake.rb:2377:in `raw_load_rakefile'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ lib/rake.rb:2017:in `load_rakefile'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ lib/rake.rb:2068:in `standard_exception_handling'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ lib/rake.rb:2016:in `load_rakefile'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ lib/rake.rb:2000:in `run'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ lib/rake.rb:2068:in `standard_exception_handling'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ lib/rake.rb:1998:in `run'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ bin/rake:31 K:/_Utilities/ruby186-26_rc2/ruby/bin/rake:19:in `load'' K:/_Utilities/ruby186-26_rc2/ruby/bin/rake:19 Second try: K:\_Projects\Ruby\_Rails_Apps\_EIMS\RTS>rake --trace rake aborted! [snip: same trace] Third try (success): K:\_Projects\Ruby\_Rails_Apps\_EIMS\RTS2>rake --trace (in K:/_Projects/Ruby/_Rails_Apps/_EIMS/RTS2) ** Invoke default (first_time) ** Invoke test (first_time) ** Execute test ** Invoke test:units (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 You have 1 pending migrations: 20100624214641 CreateExpenses Run "rake db:migrate" to update your database then try again. In the second attempt, there was a migration in the depths of the RTS directory, but rake failed instead of reporting the migration''s existence. I can''t imagine how this problem occurred. Thanks in Advance, Richard -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I accidentally hit the Return key prematurely. The subject should have been something like: Rake fails sporadically - it runs with one working directory but not a couple of others. I apologize for the sloppiness. On Jun 25, 11:21 pm, RichardOnRails <RichardDummyMailbox58...-FtJgd9dCuO3JTKoYRCtP1UEOCMrvLtNR@public.gmane.org> wrote:> Hi, > > I tried to invoke rake from a Command Window, with a couple of > failures and > one success. I haven''t consciously done anything to my system to > impact > rake Any idea what''s going on? > > First try: > K:\>rake --trace > rake aborted! > No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, > Rakefile.rb) > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2377:in > `raw_load_rakefile'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2017:in > `load_rakefile'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2068:in > `standard_exception_handling'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2016:in > `load_rakefile'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2000:in > `run'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2068:in > `standard_exception_handling'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:1998:in > `run'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > bin/rake:31 > K:/_Utilities/ruby186-26_rc2/ruby/bin/rake:19:in `load'' > K:/_Utilities/ruby186-26_rc2/ruby/bin/rake:19 > > Second try: > K:\_Projects\Ruby\_Rails_Apps\_EIMS\RTS>rake --trace > rake aborted! > [snip: same trace] > > Third try (success): > K:\_Projects\Ruby\_Rails_Apps\_EIMS\RTS2>rake --trace > (in K:/_Projects/Ruby/_Rails_Apps/_EIMS/RTS2) > ** Invoke default (first_time) > ** Invoke test (first_time) > ** Execute test > ** Invoke test:units (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 > You have 1 pending migrations: > 20100624214641 CreateExpenses > Run "rake db:migrate" to update your database then try again. > > In the second attempt, there was a migration in the depths of the RTS > directory, but rake failed instead of reporting the migration''s > existence. > I can''t imagine how this problem occurred. > > Thanks in Advance, > Richard-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Please forget about this post. After a good nap, I see where I got confused. If you looked at this post, I''m sorry I wasted your time. Best wishes, Richard On Jun 25, 11:21 pm, RichardOnRails <RichardDummyMailbox58...-FtJgd9dCuO3JTKoYRCtP1UEOCMrvLtNR@public.gmane.org> wrote:> Hi, > > I tried to invoke rake from a Command Window, with a couple of > failures and > one success. I haven''t consciously done anything to my system to > impact > rake Any idea what''s going on? > > First try: > K:\>rake --trace > rake aborted! > No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, > Rakefile.rb) > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2377:in > `raw_load_rakefile'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2017:in > `load_rakefile'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2068:in > `standard_exception_handling'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2016:in > `load_rakefile'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2000:in > `run'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:2068:in > `standard_exception_handling'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > lib/rake.rb:1998:in > `run'' > K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/ > bin/rake:31 > K:/_Utilities/ruby186-26_rc2/ruby/bin/rake:19:in `load'' > K:/_Utilities/ruby186-26_rc2/ruby/bin/rake:19 > > Second try: > K:\_Projects\Ruby\_Rails_Apps\_EIMS\RTS>rake --trace > rake aborted! > [snip: same trace] > > Third try (success): > K:\_Projects\Ruby\_Rails_Apps\_EIMS\RTS2>rake --trace > (in K:/_Projects/Ruby/_Rails_Apps/_EIMS/RTS2) > ** Invoke default (first_time) > ** Invoke test (first_time) > ** Execute test > ** Invoke test:units (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 > You have 1 pending migrations: > 20100624214641 CreateExpenses > Run "rake db:migrate" to update your database then try again. > > In the second attempt, there was a migration in the depths of the RTS > directory, but rake failed instead of reporting the migration''s > existence. > I can''t imagine how this problem occurred. > > Thanks in Advance, > Richard-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.