{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/11180","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/11180/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/11180/comments","events_url":"https://api.github.com/repos/apache/spark/issues/11180/events","html_url":"https://github.com/apache/spark/pull/11180","id":133179030,"number":11180,"title":"[SPARK-13300][Documentation] Added pygments.rb dependancy","user":{"login":"amitdev","id":969139,"avatar_url":"https://avatars.githubusercontent.com/u/969139?v=3","gravatar_id":"","url":"https://api.github.com/users/amitdev","html_url":"https://github.com/amitdev","followers_url":"https://api.github.com/users/amitdev/followers","following_url":"https://api.github.com/users/amitdev/following{/other_user}","gists_url":"https://api.github.com/users/amitdev/gists{/gist_id}","starred_url":"https://api.github.com/users/amitdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitdev/subscriptions","organizations_url":"https://api.github.com/users/amitdev/orgs","repos_url":"https://api.github.com/users/amitdev/repos","events_url":"https://api.github.com/users/amitdev/events{/privacy}","received_events_url":"https://api.github.com/users/amitdev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-12T07:45:46Z","updated_at":"2016-02-13T11:22:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/11180","html_url":"https://github.com/apache/spark/pull/11180","diff_url":"https://github.com/apache/spark/pull/11180.diff","patch_url":"https://github.com/apache/spark/pull/11180.patch"},"body":"Looks like pygments.rb gem is also required for jekyll build to work. At least on Ubuntu/RHEL I could not do build without this dependency. So added this to steps."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/183645806","html_url":"https://github.com/apache/spark/pull/11180#issuecomment-183645806","issue_url":"https://api.github.com/repos/apache/spark/issues/11180","id":183645806,"user":{"login":"srowen","id":822522,"avatar_url":"https://avatars.githubusercontent.com/u/822522?v=3","gravatar_id":"","url":"https://api.github.com/users/srowen","html_url":"https://github.com/srowen","followers_url":"https://api.github.com/users/srowen/followers","following_url":"https://api.github.com/users/srowen/following{/other_user}","gists_url":"https://api.github.com/users/srowen/gists{/gist_id}","starred_url":"https://api.github.com/users/srowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srowen/subscriptions","organizations_url":"https://api.github.com/users/srowen/orgs","repos_url":"https://api.github.com/users/srowen/repos","events_url":"https://api.github.com/users/srowen/events{/privacy}","received_events_url":"https://api.github.com/users/srowen/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T11:22:48Z","updated_at":"2016-02-13T11:22:48Z","body":"Aha, one significant update. Yes, the change here is a good one, as I also had to install this gem to build the docs. In fact we can simplify:\r\n\r\n```\r\nsudo gem install jekyll jekyll-redirect-from pygments.rb\r\nsudo pip install Pygments sphinx\r\n```\r\n\r\nMaybe it's also worth noting that you'd have to have Ruby and pip installed (and I assume gcc, Python already), which may not be obvious. For Ubuntu that's:\r\n\r\n```\r\nsudo apt-get install ruby ruby-dev pip-python\r\n```\r\n\r\nI don't feel strongly about adding that, but hey.\r\n\r\nActually I was incorrect in connecting this to SPARK-13300 though, as the page in question is not generated from source in `docs/`. It's part of the ASF site. This also uses pygments though. So maybe it turns out to be the same problem.\r\n\r\nWhile we can just add this change (with a possible simplification) I'm also looking at whether I can fix up the ASF site with something similar."}}