Hello guys, Recently an application started to print these nasty messaes everytime I try to run a rake task: ====Loaded suite /usr/bin/rake Started Finished in 0.000235 seconds. 0 tests, 0 assertions, 0 failures, 0 errors ==== It''s as if something is calling the test runner. I'' - Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Hello guys, Recently an application started to print these nasty messaes everytime I try to run a rake task: ====Loaded suite /usr/bin/rake Started Finished in 0.000235 seconds. 0 tests, 0 assertions, 0 failures, 0 errors ==== It''s as if something is calling the test runner, but i''m not really sure why or where. I''m running rails 2.2.2 and RSpec 1.1.11. - Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
On Dec 23, 1:08 pm, "Maurício Linhares" <mauricio.linha...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello guys, > > Recently an application started to print these nasty messaes everytime > I try to run a rake task: >Some thing is requiring test/unit Fred> ====> Loaded suite /usr/bin/rake > Started > > Finished in 0.000235 seconds. > > 0 tests, 0 assertions, 0 failures, 0 errors > ====> > It''s as if something is calling the test runner, but i''m not really > sure why or where. > > I''m running rails 2.2.2 and RSpec 1.1.11. > > - > Maurício Linhareshttp://alinhavado.wordpress.com/(pt-br) |http://blog.codevader.com/(en)--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
On Tue, Dec 23, 2008 at 10:59 AM, Frederick Cheung <frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Some thing is requiring test/unit >Is there any way to discover who''s doing it? Or any way to disable it? - Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@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 -~----------~----~----~----~------~----~------~--~---
Well, solved it :)
Here''s the deal for future searches, I''ve added a require
method to my
environment.rb file (before rails boot require):
def require( file )
if file == ''test/unit''
raise "do not require this shit"
else
super
end
end
And just found out where it was being required :)
Thanks!
-
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en)
On Tue, Dec 23, 2008 at 11:07 AM, Maurício Linhares
<mauricio.linhares-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> On Tue, Dec 23, 2008 at 10:59 AM, Frederick Cheung
> <frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> Some thing is requiring test/unit
>>
>
> Is there any way to discover who''s doing it? Or any way to disable
it?
>
> -
> Maurício Linhares
> http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en)
>
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@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
-~----------~----~----~----~------~----~------~--~---