Skip to content

Commit

Permalink
Revert Gem::Ext::BuildError change
Browse files Browse the repository at this point in the history
I tested this in `irb`, but when I ran Command-T, it dies with:

  NameError: uninitialized constant Gem::Ext

So will have to try again.
  • Loading branch information
wincent committed Jan 8, 2017
1 parent 7f9c806 commit ce9daf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/commandt.vim
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ ruby << EOF
else
$command_t = CommandT::Stub.new
end
rescue Gem::Ext::BuildError, LoadError
rescue LoadError
load_path_modified = false
::VIM::evaluate('&runtimepath').to_s.split(',').each do |path|
lib = "#{path}/ruby"
Expand Down

0 comments on commit ce9daf8

Please sign in to comment.