Thanks a lot Len, Overlooked it, Regards
Saurabh On Fri, Feb 20, 2009 at 7:50 PM, Len Lawrence <[email protected]>wrote: > Saurabh Bhatia wrote: > >> Hi Guys, >> >> I was reading through the book Nobody Knows Shoes and was trying the >> program for a toy: >> >> Shoes.app do >> @ball = oval :top => 10, left => 10, :radius => 10 >> stack :margin => 40 do >> title "Cool" >> subtitle"Coller" >> end >> motion do |x, y| >> @ball.move width - x,height - y >> end >> end >> >> This gave me the following error: >> >> shoes-toy.rb:2: [BUG] Segmentation fault >> ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux] >> >> Aborted >> >> I am using Ubuntu Intripid. >> On Googling about the problem I learnt that this is a problem with the OS, >> or memory allocation. >> I am thinking that this is a memory allocation problem. >> What are your views on this and What can possibly the solution to the >> problem.? >> >> Thanks >> >> Saurabh >> > Looks like a typo; left should be a symbol --- :left > > Len > > >
