`ERROR: Failed to build gem native extension` while trying to install compass

216

Solution 1

Download the latest version of ruby here.

Executed the following command (also present in the above url):

curl -sSL https://get.rvm.io | bash -s stable --ruby

Then executing rvm -v:

rvm 1.26.11 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]

And ruby -v:

ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]

Then executing gem install compass worked like a charm

Solution 2

You could also try just installing the ruby-dev package:

sudo apt-get install ruby-dev
Share:
216

Related videos on Youtube

Gank
Author by

Gank

Updated on September 18, 2022

Comments

  • Gank
    Gank over 1 year

    I want to create a Cuboctahedron

    enter image description here

    Like on this picture, can Unity3d create it like this?

    GameObject.CreatePrimitive(PrimitiveType.Cube)