From: "Parv G." Date: 2007-07-18T23:51:28+09:00 Subject: Requiring Files while working Remotely Hello, I'm trying to execute a script on my local machine which requires a file on a remote machine. When i run the program on my local machine i get an error saying that ruby couldn't load a file that is being required by file on remote machine; both of these files are in the same directory (on the remote machine). Here's the error: c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- ExcelModule.rb (LoadError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from \\3833-9-CCC-w520\AutoLib\TestBed.rb:49 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from Registration.rb:7 Everything works fine when i work directly on the remote machine. Both of the machines have same version of ruby. Both are windows xp sp2. Thanks for your help in advance. -- Posted via http://www.ruby-forum.com/.