2017-03-08 90 views
0

我碰到下面的錯誤,當我做rake generate耙產生不工作

Starting to watch source with Jekyll and Compass. Starting Rack on port 4000 
directory source/stylesheets 
DEPRECATION WARNING on line 87 of /var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-support.scss: #{} interpolation near operators will be simplified 
in a future version of Sass. To preserve the current behavior, use quotes: 

    unquote('"$moz-"#{$experimental-support-for-mozilla} "$webkit-"#{$experimental-support-for-webkit} "$opera-"#{$experimental-support-for-opera} "$microsoft-"#{$experimental-support-for-microsoft} "$khtml-"#{$experimental-support-for-khtml}') 

You can use the sass-convert command to automatically fix most cases. 

DEPRECATION WARNING on line 92 of /var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-support.scss: #{} interpolation near operators will be simplified 
in a future version of Sass. To preserve the current behavior, use quotes: 

    unquote('"$ie6-"#{$legacy-support-for-ie6} "$ie7-"#{$legacy-support-for-ie7} "$ie8-"#{$legacy-support-for-ie8}') 

You can use the sass-convert command to automatically fix most cases. 

    write source/stylesheets/screen.css 

>>> Compass is watching for changes. Press Ctrl-C to Stop. 
directory public/stylesheets 
Configuration file: /home/ubuntu/octopress/_config.yml 
/var/lib/gems/2.3.0/gems/posix-spawn-0.3.13/lib/posix/spawn.rb:2:in `require': /var/lib/gems/2.3.0/gems/posix-spawn-0.3.13/lib/posix_spawn_ext.so: undefined symbol: rb_fix2int - /var/lib/gems/2.3.0/gems/posix-spawn-0.3.13/lib/posix_spawn_ext.so (LoadError) 
    from /var/lib/gems/2.3.0/gems/posix-spawn-0.3.13/lib/posix/spawn.rb:2:in `<top (required)>' 
    from /var/lib/gems/2.3.0/gems/pygments.rb-0.6.3/lib/pygments/popen.rb:2:in `require' 
    from /var/lib/gems/2.3.0/gems/pygments.rb-0.6.3/lib/pygments/popen.rb:2:in `<top (required)>' 
    from /var/lib/gems/2.3.0/gems/pygments.rb-0.6.3/lib/pygments.rb:1:in `require' 
    from /var/lib/gems/2.3.0/gems/pygments.rb-0.6.3/lib/pygments.rb:1:in `<top (required)>' 

    from /var/lib/gems/2.3.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:74:in `require' 
    from /var/lib/gems/2.3.0/gems/jekyll- 
    from /var/lib/gems/2.3.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:29:in `process' 
    from /var/lib/gems/2.3.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program' 
    from /var/lib/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute' 
    from /var/lib/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each' 
    from /var/lib/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute' 
    from /var/lib/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go' 
    from /var/lib/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program' 
    from /var/lib/gems/2.3.0/gems/jekyll-2.5.3/bin/jekyll:20:in `<top (required)>' 
    from /usr/local/bin/jekyll:23:in `load' 
    from /usr/local/bin/jekyll:23:in `<main>' 
    write public/stylesheets/screen. 

運行compass watch我重新啓動我的電腦並運行compass clean之前。

+0

您使用的是Windows嗎?我看到你使用的是Ubuntu。 – Kris

+0

遠射,但我會嘗試在根目錄中安裝'bundle install',以查看是否有更新版本的octopress或其依賴關係。 – Kris

+0

https://github.com/octopress/octopress/issues/183它是整個錯誤,我用Ubuntu16.04感謝您 – BetaMake

回答

0

嘗試了這一點:

compass clean其次compass watch

如果這仍然沒有解決問題,清理出SASS緩存文件夾,並明確&編譯。