[Ironruby-core] WatiN .NET 4.0 and the loadFromRemoteSources Element in App.config

Mohammad Azam lists at ruby-forum.com
Mon Jun 21 13:04:31 EDT 2010

Ivan Porto Carrero wrote:
> instead of requiring the files with path. maybe try to set the load path
> $:.unshift( File.dirname(__FILE__) + "/bin/Debug")
> require 'BusinessObjects.dll'
> require 'WatiN.Core.dll'
> require 'Microsoft.mshtml.dll'
> require 'Interop.SHDocVw.dll'
> I also think that the last 2 are redundant.. they should get picked up
> automatically by Watin.Core isn't it
> ---
> Met vriendelijke groeten - Best regards - Salutations
> Ivan Porto Carrero
> Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
> Twitter: http://twitter.com/casualjim
> Author of IronRuby in Action (http://manning.com/carrero)
> Microsoft IronRuby/C# MVP

Hi Ivan,

I tried it without the path and it worked instantly. Why is it 
different? I mean why does it not work when I include the path and why 
does it work when I set the load path?

Posted via http://www.ruby-forum.com/.

More information about the Ironruby-core mailing list