2

我刚开始说感觉应该已经写了一些关于这个主题的东西,但是我还没有找到任何东西,所以请随意重定向我。

所以,我打算用Sass和 watch

sass --watch style.scss:style.css

这告诉我我需要安装听,但是当我这样做时,我得到了一个构建错误。

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
4

1 回答 1

5

我刚刚整理了一下,刚好需要ruby1.9.1-dev

$ sudo aptitude install ruby1.9.1-dev
于 2013-06-28T14:18:25.777 回答