This gem relies on python3, pip and librosa. All you need to do is make sure python3 and pip are installed on your machine and it will work :)
indigotechtutorials/audio-analysis-gem
A ruby gem for analyzing audio files to get the Key and BPM. Uses python library librosa
Ruby