Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2008/2.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
Windows 7 添加反勾号代码块时按空白页_Windows 7_Gem_Octopress_Rdiscount - Fatal编程技术网

Windows 7 添加反勾号代码块时按空白页

Windows 7 添加反勾号代码块时按空白页,windows-7,gem,octopress,rdiscount,Windows 7,Gem,Octopress,Rdiscount,我想知道当我用特定语言添加backtick代码块时,为什么会出现空白页 \u config.yml markdown: rdiscount rdiscount: extensions: - autolink - footnotes - smart pygments: false # default python pygments have been replaced by pygments.rb 在我的帖子中如果我在没有特定语言的情况下使用backtick ```

我想知道当我用特定语言添加backtick代码块时,为什么会出现空白页

\u config.yml

markdown: rdiscount
rdiscount:
  extensions:
    - autolink
    - footnotes
    - smart
pygments: false # default python pygments have been replaced by pygments.rb
在我的帖子中如果我在没有特定语言的情况下使用backtick

```
var foo = "Hello";
```
工作正常,页面正常显示

但是当我使用backtick和特定语言ex.js、javascript、java

```js
var foo = "Hello";
```
这是空白页,没有错误

[2013-12-30 17:24:46] INFO  WEBrick 1.3.1
[2013-12-30 17:24:46] INFO  ruby 1.9.3 (2013-11-22) [i386-mingw32]
[2013-12-30 17:24:46] INFO  WEBrick::HTTPServer#start: pid=7288 port=4000
Auto-regenerating enabled: source -> public
[2013-12-30 17:24:46] regeneration: 103 files changed
>>> Change detected at 17:24:47 to: screen.scss
identical public/stylesheets/screen.css

Dear developers making use of FSSM in your projects,
FSSM is essentially dead at this point. Further development will
be taking place in the new shared guard/listen project. Please
let us know if you need help transitioning! ^_^b
- Travis Tilley

>>> Compass is polling for changes. Press Ctrl-C to Stop.
127.0.0.1 - - [30/Dec/2013 17:25:06] "GET / HTTP/1.1" 200 - 0.8490
127.0.0.1 - - [30/Dec/2013 17:25:41] "GET / HTTP/1.1" 200 - 0.0040
我认为它在Ubuntu上运行良好,但在Windows 7上不起作用
有什么建议吗?
我的机器

  • Windows 7 32位
  • Ruby 1.9.3 p484
  • 第2.0.7.3节

仅在最新版本的折扣/rdisont(2.1.7)中支持带有语言说明符的隔离代码块。确保你的RdicOnt gem>=2.1.7。

我的Ubuntu机器在Rakefile gem的“RdicOnt”中,“~>2.0.7”也能工作!但是Windows7在GitBash中只适用于最新版本的发布
gem update rdisont
(适用于那些像我一样受到ruby挑战的人)