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

Error opening .ruby-version file when using Gdiff in vim-fugitive #131

Closed
dpetersen opened this issue Feb 25, 2013 · 2 comments
Closed

Error opening .ruby-version file when using Gdiff in vim-fugitive #131

dpetersen opened this issue Feb 25, 2013 · 2 comments
Labels

Comments

@dpetersen
Copy link

I don't know if this belongs here on or vim-fugitive, so please let me know if I should move it.

I updated all of my plugins this morning, which left me at 0103538 on vim-fugitive and c6451c on vim-ruby. When I run :Gdiff on a modified file, I get the following error:

Error detected while processing /home/vagrant/.homesick/repos/dpetersen/vimfiles/home/.vim/bundle_storage/vim-ruby/ftplugin/ruby.vim:
line  104:
E484: Can't open file fugitive:///foundation-api/.git//0/spec/features/.ruby-version

I was trying to diff a file that was in my spec/features directory. There is a .ruby-version in the root of my project.

Resetting back to 3a4093 on vim-ruby (the commit immediately before Experimental support for .ruby-version) makes this issue go away.

Please let me know if I'm screwing something up, if I've put this issue in the wrong place, or if you want me to try a fix. If I wasn't a complete idiot at vimscript, I'd try and fix this myself. But this isn't exactly beginner level vimscript.

@tpope tpope closed this as completed in 423286e Feb 25, 2013
@tpope
Copy link
Member

tpope commented Feb 25, 2013

Discovered this last night. Just pushed a fix. Thanks!

@dpetersen
Copy link
Author

Worked like a charm. Thanks!

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

No branches or pull requests

3 participants