Making a ruby program open up an audio file

Hi im kind of a noobie in this language and im trying to get my ruby
program to open up an audio file so it can play it at that specific time
does anyone know how to do this or is it impossible?

Hi,

Of course it’s possible. You could simply open a console with Ruby and
start your audio player. But it’s probably better to use a library.

For example, I’ve found GStreamer:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gst-helloworld