Currently we only support ruby processes with libruby.so, which implies --enable-shared. This is the default model for ruby.
However, a static bin/ruby can be faster and is sometimes deployed. We should be able to support this by just updating the regex and supporting the static TLS descriptor model described in #883 when accessing any TLS variables.
I'll work on this as part of my efforts to improve support for the ruby interpreter, I don't anticipate it being a lot of work to support.