title: Jekyll custom theme- gemspec bundle install error: unexpected unary-, expecting keyword_do
body: <pre><code># coding: utf-8
  
  Gem::Specification.new do |spec|
    spec.name          = "myJekyllTheme"
    spec.version       = "1.0.1"
    spec.authors       = ["Mai Walters"]
    spec.email         = ["maiverily@gmail.com"]
  
    spec.summary       = %q{A simple theme for my CMS class.}
    spec.homepage      = "https://www.github.uconn.edu/mvw13001/myJekyllTheme"
    spec.license       = "MIT"
  
    spec.files         = `git ls-files -z`.split("\x0").reject { |f| 
  f.match(%r{^(test|spec|features)/}) }
  
    spec.add_runtime_dependency "jekyll", "~&gt; 3.4"
    spec.add_development_dependency "bundler", "~&gt; 1.12"
    spec.add_development_dependency "rake", "~&gt; 10.0"
    spec.add_development_dependency "jekyll-polyglot", "&gt;= 1.2.4"
    spec.add_development_dependency "jekyll-seo-tag", "&gt;= 2.1.0"
    spec.add_development_dependency "jekyll-paginate", "&gt;= 1.1.0"
    spec.add_development_dependency "jekyll-feed", "~&gt; 0.6"
  end
  </code></pre>
  
  <p>I am using this code to try to create a jekyll theme and I am setting up my gemspec file but every time I run bundle install, I get this error:  </p>
  
  <pre><code>C:\Users\M\myJekyllTheme&gt;bundle install
  
  [!] There was an error parsing `Gemfile`: syntax error, unexpected unary-, 
  expecting keyword_do or '{' or '(' - ....files         = git ls-files -
  z.split("\x0").select { |f| f...
  ...                               ^. Bundler cannot continue.
  
   #  from C:/Users/M/myJekyllTheme/Gemfile:15
   #  -------------------------------------------
   #    spec.add_development_dependency "bundler", "~&gt; 1.12"
   &gt;  end #  source "https://rubygems.org"
  #  -------------------------------------------
  </code></pre>
  
  <p>Does anyone know why this would be?</p>