File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -361,6 +361,9 @@ let &t_SI = "\<Esc>]50;CursorShape=1\x7"
361
361
let &t_SR = " \<Esc> ]50;CursorShape=2\x7 "
362
362
let &t_EI = " \<Esc> ]50;CursorShape=0\x7 "
363
363
364
+ " set ruby for neovim/goneovim/VimR using chruby
365
+ let g: ruby_host_prog = ' ~/bin/chruby-wrapper'
366
+
364
367
365
368
366
369
" SYNTAX HIGHLIGHTING
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ elif [ -x "$HOME/.rvm/scripts/rvm" ]; then
50
50
export PATH=$PATH :$HOME /.rvm/bin
51
51
fi
52
52
53
+ # Automatically switch to the ruby version specified in the .ruby-version file
54
+ # present in the current directory; This is required for goneovim/VimR
55
+ chruby_auto
56
+
53
57
# rubygems config telling it to activate gems found in the Gemfile file
54
58
# which is found in the current directory (or any parent directory)
55
59
# in order to never have to type `bundle exec` again
You can’t perform that action at this time.
0 commit comments