From: Luis Lavena Date: 2008-06-10T04:30:10+09:00 Subject: Re: Ruby Profiler On Jun 9, 6:05 pm, Justin To wrote: > pat eyler wrote: > > On Fri, Jun 6, 2008 at 1:29 PM, Justin To wrote: > >> Hello, I'm looking for a program to profile my non-rails ruby program... > >> I found ruby-prof, can that do the job? if it does, I have no idea how > >> to install and run it to profile my programs =( > > > I wrote a series of short articles about using ruby-prof a while ago, > > and they still seem pretty popular.  Perhaps these will help: > > >http://on-ruby.blogspot.com/2006/08/profile-and-ruby-prof.html > >http://on-ruby.blogspot.com/2006/08/profile-and-ruby-prof-getting-spe... > >http://on-ruby.blogspot.com/2006/08/ruby-prof-and-call-graphs.html > > I'm sorry to say that those articles didn't help...I'm trying to run > ruby-prof on a program saved onto the desktop... where do I go to type > in the command(s) and what commands should I type? > Wow, what an answer... When you said "RubyGems Package Manager" looks like you're running Windows and you have One-Click Installer "installed". Just jump into a command prompt and see if "ruby -v" get you the ruby version installed, if so, that means you have Ruby in your PATH. First you need to get your feets wet with command line, 'cd' into your desktop folder (whatever is that, you should know) and try running the suggested commandline from the articles. HTH, -- Luis Lavena