Again I finally managed to answer my own question - by taking a look at
how the simply_resful plguin did it (since they obviously had to handle
this).  Basically, I'm just depending on the path all the path all the
way up to the /config/environment.rb file and processing that.  That
seems to work, so I guess I'll stick with that

RAILS_ENV = "test"
require File.expand_path(File.join(File.dirname(__FILE__),
'../../../../config/environment.rb'))


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core
-~----------~----~----~----~------~----~------~--~---

Reply via email to