title: Rails 3 Server crashes on start: "Not a socket file descriptor"
body: <p>I'm trying to get started with Ruby on Rails, and it's all gone quite well up until I try to start the server. I get the following error:</p>
  
  <pre><code>C:\Users\Ken\workspace\railsHello&gt;rails server
  =&gt; Booting WEBrick
  =&gt; Rails 3.0.5 application starting in development on http://0.0.0.0:3000
  =&gt; Call with -d to detach
  =&gt; Ctrl-C to shutdown server
  [2011-03-10 19:53:08] INFO  WEBrick 1.3.1
  [2011-03-10 19:53:08] INFO  ruby 1.9.2 (2011-02-18) [i386-mingw32]
  [2011-03-10 19:53:09] WARN  TCPServer Error: not a socket file descriptor
  Exiting
  C:/Ruby192/lib/ruby/1.9.1/webrick/utils.rb:73:in `initialize': not a socket file
   descriptor (ArgumentError)
          from C:/Ruby192/lib/ruby/1.9.1/webrick/utils.rb:73:in `new'
          from C:/Ruby192/lib/ruby/1.9.1/webrick/utils.rb:73:in `block in create_l
  isteners'
          from C:/Ruby192/lib/ruby/1.9.1/webrick/utils.rb:70:in `each'
          from C:/Ruby192/lib/ruby/1.9.1/webrick/utils.rb:70:in `create_listeners'
  
          from C:/Ruby192/lib/ruby/1.9.1/webrick/server.rb:74:in `listen'
          from C:/Ruby192/lib/ruby/1.9.1/webrick/server.rb:62:in `initialize'
          from C:/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:24:in `initialize'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.2.1/lib/rack/handler/web
  rick.rb:10:in `new'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.2.1/lib/rack/handler/web
  rick.rb:10:in `run'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rack-1.2.1/lib/rack/server.rb:2
  13:in `start'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/rails/comman
  ds/server.rb:65:in `start'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/rails/comman
  ds.rb:30:in `block in &lt;top (required)&gt;'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/rails/comman
  ds.rb:27:in `tap'
          from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.5/lib/rails/comman
  ds.rb:27:in `&lt;top (required)&gt;'
          from script/rails:6:in `require'
          from script/rails:6:in `&lt;main&gt;'
  
  C:\Users\Ken\workspace\railsHello&gt;
  </code></pre>
  
  <p>I don't even know where to start with "TCPServer Error: Not a socket file descriptor." </p>
  
  <p>Trying it through Aptana didn't help either. </p>
  
  <p>I'm on Windows 7 Home Premium. Apache was already installed, but I shut it down and it didn't make a difference. </p>
  
  <p>Thanks in advance for your help!</p>
  
  <p>-Ken</p>