Gem installation ruby-audio failing

后端 未结 1 1990
南旧
南旧 2021-01-14 06:40

I have cloned an existing repository and am now running bundle install - for some reason it fails at the ruby-audio gem.

Installing ruby-audio (         


        
相关标签:
1条回答
  • 2021-01-14 07:19

    So, we got it working together, and I thought I'd share the steps I had to take to make this work. Thanks to all the guys who commented!

    1. The problem was that while installing the gem, it couldn't find the libsndfile
    2. To install it, I had to run brew install libsndfile (install homebrew first if you don't have it already), which didn't work, so I had to...
    3. ... update Xcode to the latest version and install Xcodes command line tool (don't ask me why, but I had to.)
    4. Then I ran brew install libsndfile, which worked
    5. And last but not least I ran bundle install again, which finally installed the desired gem.
    0 讨论(0)
提交回复
热议问题