Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 耙不工作_Ruby On Rails_Ruby_Octopress - Fatal编程技术网

Ruby on rails 耙不工作

Ruby on rails 耙不工作,ruby-on-rails,ruby,octopress,Ruby On Rails,Ruby,Octopress,我在执行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-supp

我在执行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.
开始使用Jekyll和Compass监视源。端口4000上的启动机架
目录源/样式表
/var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/css3//u deprecated-support.scss:#{}运算符附近的插值将简化
在未来的Sass版本中。要保留当前行为,请使用引号:
unquote(“$moz-”{$mozilla实验支持}“$webkit-”{$webkit实验支持}“$opera-”{$opera实验支持}“$microsoft-”{$microsoft实验支持}“$khtml-”{$khtml实验支持}”)
您可以使用sass convert命令自动修复大多数情况。
/var/lib/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/css3//u deprecated-support.scss:{}运算符附近的插值将简化
在Sass的未来版本中。要保留当前行为,请使用引号:
取消报价(“$ie6-”{$legacy-support-for-ie6}“$ie7-”{$legacy-support-for-ie7}“$ie8-”{$legacy-support-for-ie8}”)
您可以使用sass convert命令自动修复大多数情况。
编写source/stylesheets/screen.css
>>>罗盘正在观察变化。按Ctrl-C停止。
目录公共/样式表
配置文件:/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:未定义符号:rb_fix2int-/var/lib/gems/gems/posix-spawn-0.3.13/lib/posix_-spawn_-ext.so(加载错误)
from/var/lib/gems/2.3.0/gems/posix-spawn-0.3.13/lib/posix/spawn.rb:2:in`'
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`'
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`'
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:在“进程”中
from/var/lib/gems/2.3.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:18:in`init_中的block(2层)with_程序'
from/var/lib/gems/2.3.0/gems/雇佣军-0.3.6/lib/雇佣军/command.rb:220:“执行中的块”中
from/var/lib/gems/2.3.0/gems/雇佣军-0.3.6/lib/雇佣军/command.rb:220:in'each'
from/var/lib/gems/2.3.0/gems/雇佣军-0.3.6/lib/雇佣军/command.rb:220:in'execute'
from/var/lib/gems/2.3.0/gems/雇佣军-0.3.6/lib/雇佣军/program.rb:42:in'go'
from/var/lib/gems/2.3.0/gems/雇佣军-0.3.6/lib/雇佣军。rb:19:in“program”
from/var/lib/gems/2.3.0/gems/jekyll-2.5.3/bin/jekyll:20:in`'
from/usr/local/bin/jekyll:23:in'load'
from/usr/local/bin/jekyll:23:in`'
编写公共/样式表/屏幕。
在运行
compass watch
之前,我重新启动计算机并运行
compass clean

尝试以下操作:

指南针清洁
后接
指南针手表


如果这仍然不能解决问题,请清除sass缓存文件夹,然后清除并编译。

您使用的是Windows吗?我知道您正在使用Ubuntu.long shot,但我会尝试在根目录中安装
bundle
,看看是否有更新版本的octopress或其依赖项。这是我使用Ubuntu16.04的全部错误,多亏了您。在我看来,
posix_spawn_ext
共享库缺少一个名为
rb_fix2init
的符号-这可能表明您缺少另一个本机库,或者您的内容版本不匹配。看最新版本的东西可能会很痛苦,但在这些情况下通常是好的。那么,我该怎么办呢?现在我不知道下一步该怎么做。多亏了你