Closed williamboman closed 1 year ago
As a work-around you can run dos2unix or similar on puppet-languageserver.
Hello, dos2unix just convert the problem to this one;
.../vim/lsp/rpc.lua:420 "rpc" "puppet-languageserver" "stderr" "<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in
require': cannot load such file -- puppet_languageserver (LoadError)\n\tfrom <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in require'\n\tfrom /home/asezen/.local/share/nvim/mason/bin/puppet-languageserver:11:in <main>\n
I installed puppet-languageserver with mason.
Thanks
I have the same problem.
I have the same problem.
Looks like a bug in $LOAD_PATH
for dependencies.
This is reproduced when I using a link to puppet-languageserver
instead of starting it from the installation directory.
Hi @williamboman, it looks like there was a Pull Request (#326) merged a couple of months ago that was described as a fix for this issue. Can you confirm whether this issue is still active or has been addressed?
Seems fine now :+1:
Describe the Bug
Starting in the 1.3.0 release, it seems like the bundled executables come with DOS-like line endings. This causes some issues when running on POSIX systems, for example interpreting the shebang incorrectly:
Expected Behavior
Unix-like line endings!
Steps to Reproduce
Steps to reproduce the behavior:
puppet-*
scripts.Environment