when you do require &#39;MyAssembly.dll&#39;<div><br></div><div>ironruby looks in it&#39;s search paths to see if it can find the file in one of those locations. If it exists it will just load the file with Assembly.LoadFromPath</div>

<div><br></div><div>Not much magic </div><div><br></div><div>You may have to change the trust level in your .net security configuration to allow network locations but that counts for other .NET stuff too.<br clear="all">
---<br>
Met vriendelijke groeten - Best regards - Salutations<br>Ivan Porto Carrero<br>Blog: <a href="http://flanders.co.nz">http://flanders.co.nz</a><br>Google Wave: <a href="mailto:portocarrero.ivan@googlewave.com">portocarrero.ivan@googlewave.com</a><br>

Twitter: <a href="http://twitter.com/casualjim">http://twitter.com/casualjim</a><br>Author of IronRuby in Action (<a href="http://manning.com/carrero">http://manning.com/carrero</a>)<br><br>
<br><br><div class="gmail_quote">On Wed, Dec 23, 2009 at 6:59 PM, Gordon Marsh <span dir="ltr">&lt;<a href="mailto:lists@ruby-forum.com">lists@ruby-forum.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
I have just got IronRuby up and running. I&#39;m intending on using it with<br>
Cucumber to test some of the DLLs on our server.<br>
<br>
It all seems to have been set up correctly and I have require&#39;d one of<br>
the DLLs from a location on our server. I have access to the DLL&#39;s via a<br>
shared drive, but they are on a different machine to my own. The DLLs<br>
sit on the webserver in the bin directory within the wwwroot directory<br>
of an IIS server. The class interfaces are quite simple, but the DLLs do<br>
a lot of work calling other services, databases etc.<br>
<br>
Now, on my machine, where my test scripts are, if I import one of these<br>
DLLs using<br>
<br>
  require &#39;mydll.dll&#39;<br>
<br>
What does this actually do?<br>
<br>
  1) Does it make a copy of the DLL code which I can use but is running<br>
on my machine? Or;<br>
  2) Does it reference the DLL on the webserver itself such that I am<br>
running code on the webserver?<br>
<br>
I ask as to test the DLLs effectively they will need to have the same<br>
resources available to them as on the webserver (access to the DB etc).<br>
If the code is running on my machine, then I can&#39;t test effectively.<br>
<br>
Any advice appreciated....<br>
<br>
Thanks,<br>
<br>
Gordon<br>
<font color="#888888">--<br>
Posted via <a href="http://www.ruby-forum.com/" target="_blank">http://www.ruby-forum.com/</a>.<br>
_______________________________________________<br>
Ironruby-core mailing list<br>
<a href="mailto:Ironruby-core@rubyforge.org">Ironruby-core@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/ironruby-core" target="_blank">http://rubyforge.org/mailman/listinfo/ironruby-core</a><br>
</font></blockquote></div><br></div>