On Sat, 29 Dec 2007, why the lucky stiff wrote:
On Sat, Dec 29, 2007 at 08:26:30PM -0500, Aditya Mahajan wrote:
However, after cd dist/ and ./shoes samples/timer.rb I get
no such file to load -- rexml/document
Oh, thankyou, Aditya. The tarball had a couple of problems which
I'm not very proud of it. It has been dismissed. The new tarball
is this: <http://code.whytheluckystiff.net/dist/shoes-0.r371.tar.gz>
Thanks. The new build works properly. I was trying different samples, and
found something very strange with samples/irb.rb. If I type
str = "ABC" in the irb prompt, I get a dialog which says
Shoes says:
can't convert Array into String
* (eval):91:in `+'
* (eval):91
It appears that str is already initialized to [">>"]. Looking at
samples/irb.rb, I think this is happening because eval is being used and
str is a variable in the samples/irb.rb. But I would still consider it a
bug in the code. Unfortunately, I am beginner at ruby and don't really
know a good way to avoid this.
Aditya