Error occuring 'ruby script/server -debugger'

[code]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[/code]

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 :

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

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 Don

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

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

Fred