我剛剛安裝了neovim,並且我遇到了RubyGem的問題。Miss Neovim RubyGem
的輸出 ':CheckHealth' 指示缺少neovim RubyGem:
Successfully installed neovim-0.3.1
Parsing documentation for neovim-0.3.1
Done installing documentation for neovim after 0 seconds
1 gem installed
的輸出:
## Ruby provider
- ERROR: Missing Neovim RubyGem
- SUGGESTIONS:
- Install or upgrade the neovim RubyGem using `gem install neovim`.
- INFO: Ruby Version: ruby 2.2.6p396 (2016-11-15 revision 56800) [x86_64-linux]
- INFO: Host Executable: not found
- INFO: Host Version: not found
安裝 '須藤寶石安裝neovim' 後 ':CheckHealth' 是相同的前:
## Ruby provider
- ERROR: Missing Neovim RubyGem
- SUGGESTIONS:
- Install or upgrade the neovim RubyGem using `gem install neovim`.
- INFO: Ruby Version: ruby 2.2.6p396 (2016-11-15 revision 56800) [x86_64-linux]
- INFO: Host Executable: not found
- INFO: Host Version: not found
我錯過了什麼嗎?我該如何解決這個問題?
:echo has('ruby') returns 1
非常感謝。
編輯: 這裏是「寶石ENV」
RubyGems Environment:
- RUBYGEMS VERSION: 2.6.10
- RUBY VERSION: 2.2.6 (2016-11-15 patchlevel 396) [x86_64-linux-gnu]
- INSTALLATION DIRECTORY: /usr/lib64/ruby/gems/2.2.0
- USER INSTALLATION DIRECTORY: /home/my_user_name/.gem/ruby/2.2.0
- RUBY EXECUTABLE: /usr/bin/ruby.ruby2.2
- EXECUTABLE DIRECTORY: /usr/bin
- SPEC CACHE DIRECTORY: /home/my_user_name/.gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /usr/lib64/ruby/gems/2.2.0
- /home/my_user_name/.gem/ruby/2.2.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => true
- :bulk_threshold => 1000
- :benchmark => false
- :install => "--format-executable --no-user-install"
- "install" => "--format-executable --no-user-install"
- :format_executable => true
- :update => "--format-executable --no-user-install"
- "update" => "--format-executable --no-user-install"
- :sources => ["https://rubygems.org"]
- REMOTE SOURCES:
- https://rubygems.org
- SHELL PATH:
- /home/my_user_name/bin
- /usr/local/bin
- /usr/bin
- /bin
- /usr/games
- /usr/java/jdk1.8.0_121/bin
是的,我在linux。我很抱歉,但我不太明白我該怎麼做。 我應該寫什麼命令?謝謝 – Bomba