{"action":"created","issue":{"url":"https://api.github.com/repos/github/gemoji/issues/79","labels_url":"https://api.github.com/repos/github/gemoji/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/github/gemoji/issues/79/comments","events_url":"https://api.github.com/repos/github/gemoji/issues/79/events","html_url":"https://github.com/github/gemoji/pull/79","id":98807602,"number":79,"title":"Escape mkdir paths for rake emoji task","user":{"login":"gavingmiller","id":452161,"avatar_url":"https://avatars.githubusercontent.com/u/452161?v=3","gravatar_id":"","url":"https://api.github.com/users/gavingmiller","html_url":"https://github.com/gavingmiller","followers_url":"https://api.github.com/users/gavingmiller/followers","following_url":"https://api.github.com/users/gavingmiller/following{/other_user}","gists_url":"https://api.github.com/users/gavingmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/gavingmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavingmiller/subscriptions","organizations_url":"https://api.github.com/users/gavingmiller/orgs","repos_url":"https://api.github.com/users/gavingmiller/repos","events_url":"https://api.github.com/users/gavingmiller/events{/privacy}","received_events_url":"https://api.github.com/users/gavingmiller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T18:11:18Z","updated_at":"2015-08-03T21:22:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/github/gemoji/pulls/79","html_url":"https://github.com/github/gemoji/pull/79","diff_url":"https://github.com/github/gemoji/pull/79.diff","patch_url":"https://github.com/github/gemoji/pull/79.patch"},"body":"In the event that someone tries to copy the gemoji emoji's into their\r\nproject using the rake emoji task, if that person has braces ( or ) in\r\nthe path, the task will fail. Example of error:\r\n\r\n```\r\nsh: -c: line 0: syntax error near unexpected token `('\r\nsh: -c: line 0: `mkdir -p /Users/gmiller/Dropbox (Personal)/projects/gavinmiller.io/public/images && \r\n  cp -Rp /Users/gmiller/.rbenv/versions/2.0.0-p598/lib/ruby/gems/2.0.0/gems/gemoji-2.1.0/images/emoji\r\n  /Users/gmiller/Dropbox (Personal)/projects/gavinmiller.io/public/images'\r\n```\r\n\r\nBy escaping the paths in the rake task, this problem no longer occurs."},"comment":{"url":"https://api.github.com/repos/github/gemoji/issues/comments/127409387","html_url":"https://github.com/github/gemoji/pull/79#issuecomment-127409387","issue_url":"https://api.github.com/repos/github/gemoji/issues/79","id":127409387,"user":{"login":"mislav","id":887,"avatar_url":"https://avatars.githubusercontent.com/u/887?v=3","gravatar_id":"","url":"https://api.github.com/users/mislav","html_url":"https://github.com/mislav","followers_url":"https://api.github.com/users/mislav/followers","following_url":"https://api.github.com/users/mislav/following{/other_user}","gists_url":"https://api.github.com/users/mislav/gists{/gist_id}","starred_url":"https://api.github.com/users/mislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mislav/subscriptions","organizations_url":"https://api.github.com/users/mislav/orgs","repos_url":"https://api.github.com/users/mislav/repos","events_url":"https://api.github.com/users/mislav/events{/privacy}","received_events_url":"https://api.github.com/users/mislav/received_events","type":"User","site_admin":true},"created_at":"2015-08-03T21:22:32Z","updated_at":"2015-08-03T21:22:32Z","body":"Thanks!"}}