I managed to make it work, updating rubygems (gem update --system, but I'm not sure that this was relevant) and removing './' from the path:
bin/logstash-plugin install --no-verify myplugin.gem
instead than
bin/logstash-plugin install --no-verify ./myplugin.gem
You can check if this works for you.