gemedit icon indicating copy to clipboard operation
gemedit copied to clipboard

Breaks with JRuby using VIM as editor

Open dlee opened this issue 13 years ago • 6 comments

The VIM output is piped to STDOUT without letting me interact with the VIM interface. You can briefly see VIM's warning message: Vim: Warning: Output is not to a terminal Vim: Warning: Input is not from a terminal

dlee avatar Jan 20 '11 21:01 dlee

Which version of jruby are you using?

lmarlow avatar Jan 20 '11 22:01 lmarlow

This is reproducible on 1.5.6 and 1.6.0.RC1. I haven't tried any older versions.

dlee avatar Jan 21 '11 00:01 dlee

FYI, I haven't forgotten about this. I've looked into it and am playing with the spoon gem for spawning processes from JRuby.

lmarlow avatar Mar 22 '11 01:03 lmarlow

Just an update, I see the issue still in JRuby 1.6.1. Are there any known workarounds?

trailstrider avatar Apr 27 '11 17:04 trailstrider

I should add that im coming from the 'bundle open [gemname]' which i guess is just using gemedit. Is there a chance this is already fixed and bundler just needs to be updated?

trailstrider avatar Apr 27 '11 17:04 trailstrider

bundle open does not use gemedit under the hood, they are very similar though. This has not been fixed yet, I would love some patches for it :)

lmarlow avatar Apr 27 '11 17:04 lmarlow