Jekyll custom theme- gemspec bundle install error: unexpected unary-, expecting keyword_do

后端 未结 1 1366
闹比i
闹比i 2021-01-26 02:04
# coding: utf-8

Gem::Specification.new do |spec|
  spec.name          = \"myJekyllTheme\"
  spec.version       = \"1.0.1\"
  spec.authors       = [\"Mai Walters\"]
  sp         


        
1条回答
  •  失恋的感觉
    2021-01-26 02:41

    Try changing this:

    spec.files = `git ls-files -z`.split("\x0").reject { |f| 
    f.match(%r{^(test|spec|features)/}) }
    

    to this (one line):

    spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
    

    0 讨论(0)
提交回复
热议问题