Error occuring 'ruby script/server -debugger'

C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/ rocess/daemon.rb:4:in `fork': fork() function is unimplemented on this machine NotImplementedError) from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_supp rt/core_ext/process/daemon.rb:4:in `daemon' from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb: 2 from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `g m_original_require' from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `r quire' from script/server:3

Sory for double post but by mistake i pressed submit.
1st of all im a newbie so forgive me for any mistakes.

Ive been searching for some solutions.Tried even to instal open3
result :

C:\Ruby\lib\ruby\gems\1.8\gems\win32-open3-0.2.9>rake install
(in C:/Ruby/lib/ruby/gems/1.8/gems/win32-open3-0.2.9)
C:/Ruby/bin/ruby.exe extconf.rb
checking for rb_pid_t in ruby.h… no
creating Makefile
nmake
Name ‘nmake’ is not recognized
rake aborted!
Command failed with status (1): [nmake…]

(See full trace by running task with --trace)

Plz help cuze im stuck.I just need to create comments database using the
debugger.

On Jun 3, 12:14 pm, Conrad D. [email protected]
wrote:

Sory for double post but by mistake i pressed submit.
1st of all im a newbie so forgive me for any mistakes.

it’s --debugger, not -debugger (which is being interpreted as -d which
does something completely different).

It does however sound like ruby script/console is more what you are
looking for

Fred

Hi,

I think you are working on Windows.
Windows doesnot support forking.

Hemanth

On Wed, Jun 3, 2009 at 4:37 PM, Conrad D.

it’s --debugger, not -debugger (which is being interpreted as -d which
does something completely different).

yeap ive used --debugger , just forgot to press additional -.

hemanth shiva wrote:

Hi,

I think you are working on Windows.
Windows doesnot support forking.

Hemanth

On Wed, Jun 3, 2009 at 4:37 PM, Conrad D.

Yeap working on windows , so there is no possibility to run debugger ?

Hi,

I dont think you can run it in Windows since I can see that the fork
is being called from
active support library of rails 2.3.2.

If you write a standalone program or use earlier version of rails ,
debugger might work.

fork() method is at the Operating system level call.
If the OS doesnot support that, there is nothing we can do about.

Hemanth

On Wed, Jun 3, 2009 at 6:35 PM, Conrad D.

On Jun 3, 1:36 pm, Conrad D. [email protected]
wrote:

it’s --debugger, not -debugger (which is being interpreted as -d which
does something completely different).

yeap ive used --debugger , just forgot to press additional -.

It still looks very strongly like rails thought that you have told it
to daemonize. Have your tried -u instead of --debugger ?

Fred