Permalink
Browse files

Change hostname from 'localhost' to '127.0.0.1'

According to users' feedbacks, sometimes the plugin doesn't work with
'localhost' hostname with IPv6 configured. Replaced to 127.0.0.1, it
should fix the issue.
  • Loading branch information...
1 parent b49005f commit 823a02031897f0c3fe030c2399a2973ee24cab1c Anton Astashov committed Jan 9, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 additionals/autoload/ruby_debugger.vim
  2. +1 −1 ruby_debugger/before.vim
  3. +1 −1 vim/autoload/ruby_debugger.vim
@@ -3,7 +3,7 @@
let s:rdebug_port = 39767
let s:debugger_port = 39768
" hostname() returns something strange in Windows (E98BD9A419BB41D), so set hostname explicitly
-let s:hostname = 'localhost' "hostname()
+let s:hostname = '127.0.0.1' "hostname()
" ~/.vim for Linux, vimfiles for Windows
let s:runtime_dir = expand('<sfile>:h:h')
" File for communicating between intermediate Ruby script ruby_debugger.rb and
@@ -3,7 +3,7 @@
let s:rdebug_port = 39767
let s:debugger_port = 39768
" hostname() returns something strange in Windows (E98BD9A419BB41D), so set hostname explicitly
-let s:hostname = 'localhost' "hostname()
+let s:hostname = '127.0.0.1' "hostname()
" ~/.vim for Linux, vimfiles for Windows
let s:runtime_dir = expand('<sfile>:h:h')
" File for communicating between intermediate Ruby script ruby_debugger.rb and
@@ -3,7 +3,7 @@
let s:rdebug_port = 39767
let s:debugger_port = 39768
" hostname() returns something strange in Windows (E98BD9A419BB41D), so set hostname explicitly
-let s:hostname = 'localhost' "hostname()
+let s:hostname = '127.0.0.1' "hostname()
" ~/.vim for Linux, vimfiles for Windows
let s:runtime_dir = expand('<sfile>:h:h')
" File for communicating between intermediate Ruby script ruby_debugger.rb and

0 comments on commit 823a020

Please sign in to comment.