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

Doesn't work within gVim #9

Open
ylecuyer opened this issue Jan 25, 2015 · 2 comments
Open

Doesn't work within gVim #9

ylecuyer opened this issue Jan 25, 2015 · 2 comments

Comments

@ylecuyer
Copy link

The plugin works flawlessly when I launch vim from the command line however it fails within gVim:

|| /bin/bash: rubocop: command not found[/code]

Is it because I use rvm ?

@Munchery-JunyuWang
Copy link

Having the same issue

@ngmy
Copy link
Owner

ngmy commented Jun 12, 2015

It seems like gVim doesn't recognize your PATH.

Please try to add the following line to your .bashrc file:

export BASH_ENV=~/.bashrc

Otherwise, please try to add the following line to your .vimrc file:

let g:vimrubocop_rubocop_cmd = '/path/to/rubocop '

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

3 participants