Open wilgoszpl opened 8 years ago
I had a similar problem. First, removing the !
character at the front of the command fixes that particular error, but then spring itself will not recognize rspec anyway. So instead of specifying a g:rspec_command
in my .vimrc
, I did the following:
Install the spring-commands-rspec gem into your development group in your Gemfile
, run bundle install
, and run bundle exec spring binstub rspec
in your local environment to set up an rspec binstub for spring. You may also have to run spring stop
after this.
Now, every time you run rspec it will be run in the context of the Spring framework, including while working in vim with vim-rspec.
Hope this helps.
Thanks! Removing !
was the point!
When I try to run rspec commandsj from macVim, there is an error shown:
From the terminal vim everything works fine though.
Here is my config. I use
iTerm2
as terminal: