No replies? :(
On Sunday 01 May 2005 04:55 pm, David Corbin wrote:
> I''ve tried to build a couple of test-suites for use from Eclipse.
However,> one of the suites is generating the following warnings:
>
> /home/dcorbin/projects/wyvern/app/test/unit/../../config/environment.rb:1:
> warning: already initialized constant RAILS_ROOT
> /home/dcorbin/projects/wyvern/app/test/unit/../../config/environment.rb:2:
> warning: already initialized constant RAILS_ENV
> /home/dcorbin/projects/wyvern/app/test/unit/../../config/environment.rb:6:
> warning: already initialized constant ADDITIONAL_LOAD_PATHS
> /home/dcorbin/projects/wyvern/app/test/unit/../../config/environment.rb:52:
> warning: already initialized constant RAILS_DEFAULT_LOGGER
> /home/dcorbin/projects/wyvern/app/test/unit/../../config/environment.rb:66:
> warning: already initialized constant Controllers
>
> This seems to indicate that config/environment.rb is being loaded twice.
>
> Since I''m not using ''load'', I don''t
know what to think of this. Is Rails
> (or gems) playing with the require method? Is there another one I should
> be using?