Rails broken - bundle not working - ovirt-engine-sdk - ERROR: Failed to build gem native extension. Cloud9 AWS

前端 未结 6 2135
名媛妹妹
名媛妹妹 2021-02-10 08:28

I am working through the Ruby on Rails Tutorial (Rails5) by Michael Hartl in the AWS Cloud9 environment. I\'m finishing chapter 11 now. (new to programming as well)

It a

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-10 09:09

    Ubuntu 19.04(Disco Dingo)
    Firstly, locate the mkmf.log file and check for what is causing the error(s). If there is something like this message logged: The "libxml2" package isn't available. Head over to here, choose the right version which should take you to a page like this , for libxml2-dev for example, follow the instructions in the Install Howto. Running bundle install afterwards should be a success.

提交回复
热议问题