module YAMLScript::LibYS

def self.find_libys_path

Find the libys shared library file path
def self.find_libys_path
  name = libys_name
  path = ld_library_paths.map {
    |dir| File.join(dir, name) }.detect { |file| File.exist?(file)
  }
  vers = YAMLSCRIPT_VERSION
  raise Error, <<-ERROR unless path
ed library file `#{name}` not found
 curl https://yamlscript.org/install | VERSION=#{vers} LIB=1 bash
 https://github.com/yaml/yamlscript/wiki/Installing-YAMLScript
R
  path
end