我运行轨道4,每当我尝试运行在轨道控制台什么,我得到以下错误: 2.0.0 (main):0 > User.first
CodeRay::Scanners::Scanner::ScanError:
***ERROR in scanner.rb:333:in `raise_inspect': no implicit conversion of Array into String (after
我现在在使用Jekyll-Bootstrap。在我的本地环境中,我可以在jekyll的_config.yml中启用CodeRay,并在我的帖子中使用它,没有任何问题。但是相同的代码无法在github上运行。 我_config.yml(哲基尔引导CONFIGS省略): # Use kramdown as markdown parser engine.
markdown: kramdown
ma
我正在使用CodeRay 1.1.1版来呈现ruby文件。但是,它会添加大量额外空格来缩进除第一行之外的所有行。 作为MCVE,我有一个名为something.rb文件,其内容: # This comment will not be indented
# This comment WILL be indented
在控制器中,我有: contents = File.read('somethi