In mail "[ruby-talk:7183] Re: Problem with RDtool"
pschoenb / solidsoft.iksys.de (Patrick Schoenbach) wrote:
> >> I tried to install RDtool. I got all the required packages from the RAA
> >> and still I got errors during install. Is this a known problem?
> >What is your machine environment?
> I run ruby 1.6.2 on a Linux machine.
> rd/rdinlineparser.ry:347:in `next_token': undefined method `empty?' for
> #<StringScanner:0x2ad88f0c> (NameError)
Maybe this is my bug. Use this patch.
(strscan.rb is typicaly placed at /usr/local/lib/ruby/1.6/site_ruby/)
--- org.strscan.rb Thu Dec 14 13:43:32 2000
+++ strscan.rb Thu Dec 14 13:42:30 2000
@@ -84,7 +84,7 @@
scan /./
end
- def emtpy?
+ def empty?
@rest.empty?
end
If this patch is rejected, please tell me the version of strscan
and racc.
Minero Aoki