From: Rob Biedenharn Date: 2010-09-29T22:24:55+09:00 Subject: Re: unknown regexp options On Sep 29, 2010, at 9:16 AM, Gary Rutledge wrote: > The content of the file is just: > > puts "test" > > The irb session is: > >>> load /Users/gary/Desktop/test.rb Try: load "/Users/gary/Desktop/test.rb" Otherwise, it looks like a literal regular expression. -Rob > SyntaxError: compile error > (irb):3: unknown regexp options - gary > from (irb):3 >>> > > The .rb file was written in textedit with no rich text. I was using > netbeans and my theory was that netbeans was throwing in some meta > data > with the file location that ruby was picking up and processing as a > regular expression. But textedit is the same so I don't think that's > the > problem. > -- > Posted via http://www.ruby-forum.com/. > Rob Biedenharn Rob@AgileConsultingLLC.com http://AgileConsultingLLC.com/ rab@GaslightSoftware.com http://GaslightSoftware.com/