Firing off this command works in my Vagrant environment.
I now try writing some Puppet code that fires off this command, if we change gemfile, and then restart logstash.
/usr/share/logstash/bin/ruby /usr/share/logstash/vendor/bundle/jruby/2.5.0/bin/bundle lock