From: Zhoran Tvalve Date: 2008-12-15T16:16:04+09:00 Subject: Re: A bug in c:\InstantRails\ruby\lib\ruby\1.8\net\http.rb? Rupert Voelcker wrote: > Hi Zhoran > >> Thank you for your advice. I tried your code, but got again stack level >> too deep. I think it's because we use differrent lib versions. >> >> Could you attach zipped ruby\lib\ruby\1.8 folder? It would help me a >> lot. > > not sure that'll help that much as I'm just using the standard latest > download of 1.8.6 from the ruby download pages. > > I've often found that the best way to actually find out what's going > on when you get wierd errors/exceptions is to step through your source > using ruby-debug as then you can find out exactly what's going on with > a bit of diligence find out why. > > If you've not used the debugger before, I found the following > screencasts useful: > > http://brian.maybeyoureinsane.net/blog/2007/05/07/ruby-debug-basics-screencast/ > http://railscasts.com/episodes/54-debugging-with-ruby-debug > > Hope this helps > > Rupert Hi Rupert, Thank you for links about rdebug, I found them very useful. When I ran my code using rake it worked without any errors, but it still generates the error message while get running from within Rails controller. But I'm quite happy with running it with rake. So my question is closed. Wish you good luck! -- Posted via http://www.ruby-forum.com/.