I've seen these errors for a while, but only just realised they're coming from mittsu. When running inside my app's Docker container, which is based on Alpine Linux, I get this output:
/usr/src/app # bundle exec irb
irb(main):001> require 'mittsu'
Illegal option -p
sh: lspci: not found
Illegal option -p
sh: lspci: not found
I've seen these errors for a while, but only just realised they're coming from mittsu. When running inside my app's Docker container, which is based on Alpine Linux, I get this output:
Looks like the first one is
ldconfig
, presumably from https://github.com/danini-the-panini/mittsu/blob/b0bf979e4ca2d2c122a9b7cad3689c998b66ddfd/lib/mittsu/renderers/glfw_lib.rb#L19.Second one is
lspci
at https://github.com/danini-the-panini/mittsu/blob/b0bf979e4ca2d2c122a9b7cad3689c998b66ddfd/lib/mittsu/renderers/generic_lib.rb#L35I'm assuming as both these have rescues after them, it's not a showstopper if they fail. So we could just suppress the output.