InstantRails script/runner error

Hi folks ^^,

Ok I need some help here. I’m trying to create a script to
automatically send Newsletters every day. The script is ready, but as
I never used ruby script/runner I just wanted to make some test
before. So I created the following script file in my “app” folder
named “newsletter_script.rb” and with the following dumb code:

class NewsletterScript
printf “\nThat’s it!”
end

Now when I’m executing the script command “ruby script/runner /app/
newsletter_script.rb” I got the following error:
C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/
commands/runner.rb:47: (eval):1: compile error (SyntaxError)
(eval):1: unknown regexp options - wlttr
(eval):1: syntax error, unexpected tIDENTIFIER, expecting $end
/app/newsletter_script.rb
^ from C:/InstantRails-2.0/ruby/lib/ruby/
site_ruby/1.8/rub
ygems/custom_require.rb:27:in eval' from C:/InstantRails-2.0/ruby/lib/ruby/gems/1.8/gems/ rails-2.0.2/lib/com mands/runner.rb:47 from C:/InstantRails-2.0/ruby/lib/ruby/site_ruby/1.8/rubygems/ custom_req uire.rb:27:ingem_original_require’
from C:/InstantRails-2.0/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_req
uire.rb:27:in `require’
from script/runner:3

Looked on internet and didn’t find any help for this unknow regexp
error (I guess did something wrong but what?!!)…

If anyone as an idea well thanks in advance for the help :wink:

PD: If the message is not quite clear just let me know, I’m french and
my english isn’t that good :slight_smile: