{"action":"created","issue":{"url":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/154","repository_url":"https://api.github.com/repos/sgmap/beta.gouv.fr","labels_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/154/comments","events_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/154/events","html_url":"https://github.com/sgmap/beta.gouv.fr/pull/154","id":150106616,"number":154,"title":"Améliorer la gestion de dépendances","user":{"login":"maukoquiroga","id":329236,"avatar_url":"https://avatars.githubusercontent.com/u/329236?v=3","gravatar_id":"","url":"https://api.github.com/users/maukoquiroga","html_url":"https://github.com/maukoquiroga","followers_url":"https://api.github.com/users/maukoquiroga/followers","following_url":"https://api.github.com/users/maukoquiroga/following{/other_user}","gists_url":"https://api.github.com/users/maukoquiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/maukoquiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maukoquiroga/subscriptions","organizations_url":"https://api.github.com/users/maukoquiroga/orgs","repos_url":"https://api.github.com/users/maukoquiroga/repos","events_url":"https://api.github.com/users/maukoquiroga/events{/privacy}","received_events_url":"https://api.github.com/users/maukoquiroga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-21T15:21:58Z","updated_at":"2016-04-25T08:47:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sgmap/beta.gouv.fr/pulls/154","html_url":"https://github.com/sgmap/beta.gouv.fr/pull/154","diff_url":"https://github.com/sgmap/beta.gouv.fr/pull/154.diff","patch_url":"https://github.com/sgmap/beta.gouv.fr/pull/154.patch"},"body":"[Dependency hell](https://en.wikipedia.org/wiki/Dependency_hell) may lead to several nasty problems, such as [version mismatch](https://github.com/jekyll/jekyll/issues/4441/) of languages binaries and libraries between different environments.\r\n\r\nThis PR solves the following problems:\r\n\r\n1. No consistent ruby version shared across environments (test, dev, prod).\r\n2. No consistent github-pages version shared across environments (test, dev, prod).\r\n3. For test env, ruby version is being pulled from github-pages' master branch. There could be a mismatch between the ruby version of a gem's master branch and the ruby version of an actually deployed production environment. So, the correct implementation seems to be to [ask github](https://pages.github.com/versions/) which ruby version it is using in production.\r\n3. Ruby gems are usually installed and run by git tags (versions), and not from branches (revisions).\r\n4. The installation of the github-pages gem does not specify version, which could also lead to mismatch across environments.\r\n5. Use of gem's binaries in test env is done in the global space. It should be scoped to a gemset."},"comment":{"url":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/comments/214212134","html_url":"https://github.com/sgmap/beta.gouv.fr/pull/154#issuecomment-214212134","issue_url":"https://api.github.com/repos/sgmap/beta.gouv.fr/issues/154","id":214212134,"user":{"login":"maukoquiroga","id":329236,"avatar_url":"https://avatars.githubusercontent.com/u/329236?v=3","gravatar_id":"","url":"https://api.github.com/users/maukoquiroga","html_url":"https://github.com/maukoquiroga","followers_url":"https://api.github.com/users/maukoquiroga/followers","following_url":"https://api.github.com/users/maukoquiroga/following{/other_user}","gists_url":"https://api.github.com/users/maukoquiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/maukoquiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maukoquiroga/subscriptions","organizations_url":"https://api.github.com/users/maukoquiroga/orgs","repos_url":"https://api.github.com/users/maukoquiroga/repos","events_url":"https://api.github.com/users/maukoquiroga/events{/privacy}","received_events_url":"https://api.github.com/users/maukoquiroga/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T08:47:15Z","updated_at":"2016-04-25T08:47:15Z","body":"@MattiSG Je viens d'ajouter une description au PR et de mettre à jour le ```CONTRIBUTING.md```"}}