I've installed Ruby 2.2.2 (x64) via the Windows installer.
Then from the GitHub for Windows Git Bash Shell, installed Bundler via gem install bundler
.
In my site repository I've created a file called Gemfile
with the line gem 'github-pages'
.
However when I try to run the bundler
command, I receive
[!] There was an error parsing 'Gemfile': Undefined local variable or method '??g' for Gemfile. Bundler cannot continue.
# from C:/Users/User/Documents/GitHub/repository/Gemfile:1
# -------------------------------------------
# > ??g e m ' g i t h u b p a g e s ' # ??g e m ' g i t h u b p a g e s '
# -------------------------------------------
This also occurs from the Git Shell that runs Windows PowerShell.
It appears the first character is not parsing correctly and the file is parsing twice with the error, but unsure as to why.