From: Ze Maria Date: 2007-03-16T03:06:05+09:00 Subject: Re: Win32/Process at win32utils Daniel Berger wrote: > On Mar 15, 10:19 am, Ze Maria wrote: >> >> Process.kill(1,x) >> > you add the active_record gem. Can you provide the full backtrace? >> >> testBug.rb:10: undefined method `process_id' for 1808:Fixnum >> (NoMethodError) > > That's odd. It looks like you're still using the 0.4.2 gem. Do a "gem > clean win32-process" and try again. Also, make sure you don't have it > installed manually somewhere else. You can validate by printing out > the Process::WIN32_PROCESS_VERSION constant. > >> btw I'm using ruby 1.8.4 should I upgrade to 1.8.5 ? > > If it still doesn't work go ahead and try upgrading to 1.8.5. > > Regards, > > Dan Hi Dan, I did a "gem clean win32-process" which gave me: " D:\Work\workspace\VlmReconhecimento>gem clean win32-process Cleaning up installed gems... Attempting uninstall on win32-process-0.4.2-mswin32 Successfully uninstalled win32-process version 0.4.2 Clean Up Complete " now when I execute a gem search win32-process I get: D:\Work\workspace\VlmReconhecimento>gem search win32-process *** LOCAL GEMS *** win32-process (0.5.2) Adds fork, wait, wait2, waitpid, waitpid2 and a special kill method Which I think, it's good, now the only version I 've is the latest version But I still 've the same problem..... btw the command "puts Process::WIN32_PROCESS_VERSION" doesn't works, I get an "uninitialized constant Process::WIN32_PROCESS_VERSION" error Tks in advance Ze Maria -- Posted via http://www.ruby-forum.com/.