我首先要说的是,感觉应该有关于这个主题的内容,但我还没有设法找到任何东西,所以请随意重定向我。
所以,我打算用Sass看看
sass --watch style.scss:style.css
哪位告诉我我需要安装listen,但是当我这样做时,我遇到了构建错误。
victor@Minos:~$ sudo gem install listen
Building native extensions. This could take a while...
ERROR: Error installing listen:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:4:in `<main>'
Gem files will remain installed in /var/lib/gems/1.9.1/gems/ffi-1.9.0 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/ffi-1.9.0/ext/ffi_c/gem_make.out
系统
$ ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
$ uname -a
Linux Minos 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux
答案 0 :(得分:5)
我刚刚整理出来,只需要ruby1.9.1-dev
$ sudo aptitude install ruby1.9.1-dev