-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Repro:
[tim@hood]$ cat <<EOF > /tmp/vimrc
set nocompatible
call plug#begin()
Plug 'ruby-formatter/rufo-vim'
call plug#end()
syntax on
filetype on
filetype indent on
filetype plugin on
autocmd FileType ruby,eruby let g:rubycomplete_buffer_loading = 1
autocmd FileType ruby,eruby let g:rubycomplete_rails = 1
EOF
[tim@hood]$ vim -u /tmp/vimrc config/initializers/kaminari_config.rb
# trigger omnicompletion somewhere by entering edit mode and hitting CTRL-x CTRL-o
# then try issuing the :Rufo command - you'll see this error output:
/usr/local/rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/rubygems_integration.rb:458:in `block in replace_bin_path': can't find executable rufo for gem rufo. rufo is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
from /usr/local/rvm/gems/ruby-2.5.1/gems/bundler-1.16.1/lib/bundler/rubygems_integration.rb:478:in `block in replace_bin_path'
from /usr/local/rvm/gems/ruby-2.5.1/bin/rufo:27:in `<main>'
from /usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:15:in `<main>'
I have rufo installed globally, not in the bundle. I use junegunn/vim-plug for vim plugin management, but I'm guessing that has no bearing on this issue. Prior to triggering omnicompletion rufo runs fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels