ruby-ogginfo gives you access to low level information on ogg files (bitrate, length, samplerate, encoder, etc… ), as well as tag. It is written in pure ruby.