puma gem - Failed to build gem native extension

前端 未结 13 798
广开言路
广开言路 2020-12-02 10:53

I was getting the following error while installing puma gem

    $ gem install puma
    Fetching: puma-2.11.2.gem (100%)
    Building native extensions.  This coul         


        
13条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 11:09

    Not my answer but this helped me install puma on macos (big sur) since there were warnings when building puma.

    The command that I used is this:

    gem install puma -- --with-cflags="-Wno-error=implicit-function-declaration"
    

提交回复
热议问题