Failed to build gem native extension — Rails install

前端 未结 3 1724
星月不相逢
星月不相逢 2020-12-02 08:42

I have been installing Ruby on Rails based on the instruction from edX online class.

Here is a list of terminal commands, and, where relevant, corresponding output

3条回答
  •  星月不相逢
    2020-12-02 09:02

    The suggested answer only works for certain versions of ruby. Some commenters suggest using ruby-dev; that didn't work for me either.

    sudo apt-get install ruby-all-dev
    

    worked for me.

提交回复
热议问题