title: Could not connect to debugger on port xxxxx for rails debugging
body: <p>I installed Aptana for eclipse on Windows 7. When I try to debug a RoR app, it throws the following error:</p>
  
  <p><code>An internal error occurred during: "Launching myRailsApp". Could not connect to debugger on port 50671</code></p>
  
  <p>The console shows this:</p>
  
  <pre><code>Debugger (ruby-debug-ide 0.4.16, ruby-debug-base 0.11) listens on 127.0.0.1:50308
  Fatal exception in DebugThread loop: The requested service provider could not be loaded or initialized. - socket(2)
  Backtrace:
  C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.16/lib/ruby-debug-ide.rb:135:in `initialize'
   from: C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.16/lib/ruby-debug-ide.rb:135:in `new'
   from: C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.16/lib/ruby-debug-ide.rb:135:in `block in start_control'
  </code></pre>
  
  <p>The server was started successfully at localhost:3000</p>
  
  <p>I just want to get the debugger up and running so I can set breakpoints, etc.</p>
  
  <p>What would be the cause of this error?</p>