Simple question re: require

You were right :).

-D

···

-----Original Message-----
From: Yukihiro Matsumoto [mailto:matz@ruby-lang.org]
Sent: Friday, January 31, 2003 3:57 AM
To: ruby-talk ML
Subject: Re: simple question re: require

Hi,

In message “simple question re: require” > on 03/01/31, “Dwayne Smurdon @ DNA Media Pro” > smurdon@dnamediapro.com writes:

So in DBConn, I have:

require ‘win32ole’
require ‘OutlookContact’
#… and then I start my code.

When I try to compile DBConn – I get the following:

D:/Apps/Ruby/projects/DbConn.rb:2:in `require’:
./OutlookContact.rb:19: parse error (SyntaxError)
from D:/Apps/Ruby/projects/DbConn.rb:2

For clarification, line 2 is the require statement for
OutlookContact above.

You have a syntax error in ./OutlookContact.rb line 19.

  					matz.