2017-03-08 106 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缓存文件夹,并明确&编译。