tpope / vim-dispatch

dispatch.vim: Asynchronous build and test dispatcher
https://www.vim.org/scripts/script.php?script_id=4504
2.65k stars 132 forks source link

Dispatch works in iTerm, but not in tmux #56

Open digitalronin opened 10 years ago

digitalronin commented 10 years ago

Hi there

I'm having trouble getting dispatch to work under tmux (tmux 1.8, inside iTerm2 Build 1.0.0.20131116, on a Mac running OSX Mavericks).

If I use iTerm without tmux, and launch vim, then ":Start irb" opens a new iTerm tab with irb running in it.

But, if I start tmux (within the iterm window), and launch vim, then ":Start irb" doesn't seem to work. The status line shows ":!irb (tmux)" but the process is not running, according to ps, and no new tmux split or window is opened.

Can anyone give me an idea of how to try and debug this?

jrhorn424 commented 10 years ago

What does your /etc/paths look like, and how/where have you installed ruby?

tpope commented 10 years ago

Yeah a path issue seems likely. Does it work with other commands e.g. :Start bash?