Hello all,

I tried to run the script from "Nobody Knows Shoes" p.16:

Shoes.app do
  @o = oval :top => 0, left => 0,
            :radius => 40

  stack :margin => 40 do
    title "Dancing With a Circle"
    subtitle "How graceful and round."
  end

  motion do |x, y|
    @o.move width - x, height - y
  end
end

The result was that Shoes crashed with the following message:

Verifying archive integrity... All good.
Uncompressing Shoes....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
test.rb:2: [BUG] Segmentation fault
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]

Aborted


I am running Shoes 2 (http://shoooes.net/dist/shoes2.run) on Kubuntu 8.10/i386.

Is this a bug or a "feature"? :-)

Constantine

Reply via email to