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/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to