<p>Is there a way in Ruby to find the version of a file, specifically a .dll file?</p>

For any file, you'd need to discover what format the file is in, and then open the file and read the necessary bytes to find out what version the file is.  There is no API or common method to determine a file version in Ruby.
Note that it would be easier if the file version were in the file name.