Skip to content

Commit

Permalink
Merge pull request #6 from mcfiredrill/fix-rubydir-path
Browse files Browse the repository at this point in the history
call File.expand_path on ruby_dir, in case it contains '~'
  • Loading branch information
trobrock committed Jan 6, 2013
2 parents d9aaaaa + 245b760 commit af02277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/evernote.vim
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ endfunction
ruby << EOF
ruby_dir = VIM::evaluate("g:evernote_vim_ruby_dir").empty? ? \
File.join(ENV['HOME'], '.vim', 'bundle', 'evernote.vim', 'ruby') : \
VIM::evaluate("g:evernote_vim_ruby_dir")
File.expand_path(VIM::evaluate("g:evernote_vim_ruby_dir"))
$LOAD_PATH.unshift(ruby_dir)
require 'net/http'
# hack to eliminate the SSL certificate verification notification
Expand Down

0 comments on commit af02277

Please sign in to comment.