Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not sending commands to iTerm or Terminal in El Capitan #102

Open
adamlogic opened this issue Nov 17, 2015 · 3 comments
Open

Not sending commands to iTerm or Terminal in El Capitan #102

adamlogic opened this issue Nov 17, 2015 · 3 comments

Comments

@adamlogic
Copy link

Prior to upgrading to OS X El Capitan (10.11.1), I was able to trigger specs from MacVim and have them executed in iTerm 2. Here's the relevant portion of my .vimrc:

Plugin 'thoughtbot/vim-rspec'
if has("gui_macvim")
  let g:rspec_command = "zeus rspec {spec}"
  let g:rspec_runner = "os_x_iterm"
else
  let g:rspec_command = "!zeus rspec {spec}"
endif

After the upgrade, I can trigger specs in terminal Vim, but I cannot trigger them from MacVim. :call RunCurrentSpecFile() (or any of the other spec functions) does nothing. No failure message or any other kind of feedback. No activity in iTerm.

I tried changing let g:rspec_runner = "os_x_terminal", and still no dice.

Note that I did a clean install of El Capitan, so it's entirely possible that I've set something up incorrectly. I'm just not sure where to even look.

@Stono
Copy link

Stono commented Dec 1, 2015

I have the same problem - any joy @adamlogic ?

@Stono
Copy link

Stono commented Dec 1, 2015

I don't know if this is the same problem, but I updated the following in rspec.vim to fix this.
Basically, my files didn't end in _spec, so instead i'm testing the path starts with /spec

function! s:InSpecFile()
   return match(expand("%"), "^spec/") != -1
endfunction

@adamlogic
Copy link
Author

Pretty sure it's a different problem. All of my spec files end in _spec. Still no iTerm for me. Thanks, though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants