Actions
Bug #10338
closedruby script running gnome-open will crash vim, if the file open by gnome-open is handled by vim
Description
I hit this bug recently.
Code to reproduce the error under my environment:
require 'rubygems'
require 'bundler/setup'
out = system "gnome-open","model.rb"
p out
out = gnome-open model.rb
p out
Both system and backtick will crash the vim. Vim is default handler for .rb file. File is open via "gvim -f %i"
This only observe in ruby 2.1.2. Ruby v1.9.3 and v2.0.0 successful without error.
Only file require with bundler/setup will hit this error.
My environment setup:
OS : Ubuntu 14.04 64 bits
Kernel : 3.13.0-36-generic
Affected ruby : 2.1.2
NOT affected ruby : 1.9.3, 2.0.0
Vim version : 7.4.52
bundler version : 1.6.2
rvm version : 1.25.27
Actions
Like0
Like0