ruby issue with vim in Mojave

After upgrading to Mojave, whenever I run "ruby p RUBY_VERSION" command in vim, I get the following error:


/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubyge ms/specification.rb:17:in `require': incompatible library version - /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/unive rsal-darwin18/stringio.bundle (LoadError)

from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubyg ems/specification.rb:17:in `<top (required)>'

from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubyg ems.rb:1230:in `require'

from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubyg ems.rb:1230:in `<module:Gem>'

from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubyg ems.rb:116:in `<top (required)>'

from <internal:gem_prelude>:4:in `require'

from <internal:gem_prelude>:4:in `<internal:gem_prelude>'

MacBook Pro with Retina display, macOS Mojave (10.14.1)

Posted on Nov 23, 2018 1:02 AM

Reply

Similar questions

1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

ruby issue with vim in Mojave

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.