{"action":"created","issue":{"url":"https://api.github.com/repos/parse-community/docs/issues/507","repository_url":"https://api.github.com/repos/parse-community/docs","labels_url":"https://api.github.com/repos/parse-community/docs/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/parse-community/docs/issues/507/comments","events_url":"https://api.github.com/repos/parse-community/docs/issues/507/events","html_url":"https://github.com/parse-community/docs/issues/507","id":300788789,"number":507,"title":"Running Bundle Install for Github-Pages: Syntax error","user":{"login":"mccallum-sgd","id":23219638,"avatar_url":"https://avatars2.githubusercontent.com/u/23219638?v=4","gravatar_id":"","url":"https://api.github.com/users/mccallum-sgd","html_url":"https://github.com/mccallum-sgd","followers_url":"https://api.github.com/users/mccallum-sgd/followers","following_url":"https://api.github.com/users/mccallum-sgd/following{/other_user}","gists_url":"https://api.github.com/users/mccallum-sgd/gists{/gist_id}","starred_url":"https://api.github.com/users/mccallum-sgd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccallum-sgd/subscriptions","organizations_url":"https://api.github.com/users/mccallum-sgd/orgs","repos_url":"https://api.github.com/users/mccallum-sgd/repos","events_url":"https://api.github.com/users/mccallum-sgd/events{/privacy}","received_events_url":"https://api.github.com/users/mccallum-sgd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-27T20:53:56Z","updated_at":"2018-04-14T14:17:36Z","closed_at":null,"author_association":"NONE","body":"```\r\n$ ruby --version\r\nruby 2.4.3p205 (2017-12-14 revision 61247) [x64-mingw32]\r\n```\r\nMy Gemfile:\r\n```\r\nsource 'https://rubygems.org'\r\ngem \"minima\", \"~> 2.0\"\r\ngem 'github-pages', group :jekyll_plugins\r\n```\r\n___\r\nRunning `bundle install` from the directory containing my Gemfile, I get this syntax error:\r\n```\r\n$ bundle install\r\n\r\n[!] There was an error parsing `Gemfile`: syntax error, unexpected tSYMBEG, expecting keyword_do or\r\n'{' or '(' - gem 'github-pages', group :jekyll_plugins\r\n                                          ^. Bundler cannot continue.\r\n\r\n# from C:/pathToRepo/website/Gemfile:3                                                           \r\n#  -------------------------------------------                                                                    \r\n#  gem 'minima', '~> 2.0'                                                                                          \r\n>  gem 'github-pages', group :jekyll_plugins                                                                       \r\n#  source 'https://rubygems.org'                                                                                   \r\n#  ------------------------------------------- \r\n```\r\nI've tried it with and without the theme config (`gem 'minima', '~> 2.0'`) line suggested on [StackOverflow](https://stackoverflow.com/a/47736011/4036475).\r\n___\r\nI haven't found anyone else having this problem, any ideas?"},"comment":{"url":"https://api.github.com/repos/parse-community/docs/issues/comments/381332279","html_url":"https://github.com/parse-community/docs/issues/507#issuecomment-381332279","issue_url":"https://api.github.com/repos/parse-community/docs/issues/507","id":381332279,"user":{"login":"addisonElliott","id":1342819,"avatar_url":"https://avatars2.githubusercontent.com/u/1342819?v=4","gravatar_id":"","url":"https://api.github.com/users/addisonElliott","html_url":"https://github.com/addisonElliott","followers_url":"https://api.github.com/users/addisonElliott/followers","following_url":"https://api.github.com/users/addisonElliott/following{/other_user}","gists_url":"https://api.github.com/users/addisonElliott/gists{/gist_id}","starred_url":"https://api.github.com/users/addisonElliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/addisonElliott/subscriptions","organizations_url":"https://api.github.com/users/addisonElliott/orgs","repos_url":"https://api.github.com/users/addisonElliott/repos","events_url":"https://api.github.com/users/addisonElliott/events{/privacy}","received_events_url":"https://api.github.com/users/addisonElliott/received_events","type":"User","site_admin":false},"created_at":"2018-04-14T14:17:36Z","updated_at":"2018-04-14T14:17:36Z","author_association":"CONTRIBUTOR","body":" I started looking into this and thought it was a Windows/Cygwin issue. With the default installation, I am able to run the docs without any modifications.\r\n\r\nThen I start messing around with your Gemfile and I found the reason:\r\n\r\nsource 'https://rubygems.org'\r\ngem \"minima\", \"~> 2.0\"\r\ngem 'github-pages', group **\\<MISSING COLON HERE\\>** :jekyll_plugins\r\n\r\nSo it should be:\r\n\r\nsource 'https://rubygems.org'\r\ngem \"minima\", \"~> 2.0\"\r\ngem 'github-pages', group: :jekyll_plugins\r\n\r\nVery easy to miss that!"}}
{"actor":{"display_login":"addisonElliott"}}