Skip to content

Instantly share code, notes, and snippets.

@jasodeep
Created December 2, 2016 20:05
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jasodeep/916d8435944b33382392c138c3c40579 to your computer and use it in GitHub Desktop.
Save jasodeep/916d8435944b33382392c138c3c40579 to your computer and use it in GitHub Desktop.
Install Sass & Compass on debian
sudo aptitude install ruby-full
sudo gem install sass
sudo gem install compass
Copy link

ghost commented Dec 4, 2017

Thanks !

@stefanocudini
Copy link

on a clean Debian 9 installation it cause:

# gem install sass
Fetching: rb-fsevent-0.10.2.gem (100%)
Successfully installed rb-fsevent-0.10.2
Fetching: ffi-1.9.18.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing sass:
	ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.3.0/gems/ffi-1.9.18/ext/ffi_c
/usr/bin/ruby2.3 -r ./siteconf20171229-20999-gs8nxj.rb extconf.rb
checking for ffi.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

@andres101
Copy link

You have to install build-essential package before installing the gems:
sudo aptitude install build-essential

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment