{"action":"opened","issue":{"url":"https://api.github.com/repos/danger/danger/issues/1015","repository_url":"https://api.github.com/repos/danger/danger","labels_url":"https://api.github.com/repos/danger/danger/issues/1015/labels{/name}","comments_url":"https://api.github.com/repos/danger/danger/issues/1015/comments","events_url":"https://api.github.com/repos/danger/danger/issues/1015/events","html_url":"https://github.com/danger/danger/issues/1015","id":359411159,"node_id":"MDU6SXNzdWUzNTk0MTExNTk=","number":1015,"title":"Ruby LoadError: cannot load such file","user":{"login":"muuvmuuv","id":11534760,"node_id":"MDQ6VXNlcjExNTM0NzYw","avatar_url":"https://avatars3.githubusercontent.com/u/11534760?v=4","gravatar_id":"","url":"https://api.github.com/users/muuvmuuv","html_url":"https://github.com/muuvmuuv","followers_url":"https://api.github.com/users/muuvmuuv/followers","following_url":"https://api.github.com/users/muuvmuuv/following{/other_user}","gists_url":"https://api.github.com/users/muuvmuuv/gists{/gist_id}","starred_url":"https://api.github.com/users/muuvmuuv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muuvmuuv/subscriptions","organizations_url":"https://api.github.com/users/muuvmuuv/orgs","repos_url":"https://api.github.com/users/muuvmuuv/repos","events_url":"https://api.github.com/users/muuvmuuv/events{/privacy}","received_events_url":"https://api.github.com/users/muuvmuuv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-12T10:15:50Z","updated_at":"2018-09-12T10:15:50Z","closed_at":null,"author_association":"NONE","body":"# Report\r\n\r\n## What did you do?\r\n\r\nGitLab CI run `danger`\r\nGitLab CI runs on docker container with alpine OS\r\n\r\n## What did you expect to happen?\r\n\r\nI don't know\r\n\r\n## What happened instead?\r\n\r\n```console\r\n$ danger\r\n/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- json (LoadError)\r\n\tfrom /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\r\n\tfrom /usr/lib/ruby/gems/2.5.0/gems/faraday-http-cache-1.3.1/lib/faraday/http_cache/storage.rb:1:in `<top (required)>'\r\n\tfrom /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\r\n\tfrom /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\r\n\tfrom /usr/lib/ruby/gems/2.5.0/gems/faraday-http-cache-1.3.1/lib/faraday/http_cache.rb:3:in `<top (required)>'\r\n\tfrom /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\r\n\tfrom /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\r\n\tfrom /usr/lib/ruby/gems/2.5.0/gems/danger-5.6.6/lib/danger/commands/local.rb:4:in `<top (required)>'\r\n\tfrom /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\r\n\tfrom /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\r\n\tfrom /usr/lib/ruby/gems/2.5.0/gems/danger-5.6.6/lib/danger/commands/runner.rb:4:in `<class:Runner>'\r\n\tfrom /usr/lib/ruby/gems/2.5.0/gems/danger-5.6.6/lib/danger/commands/runner.rb:2:in `<module:Danger>'\r\n\tfrom /usr/lib/ruby/gems/2.5.0/gems/danger-5.6.6/lib/danger/commands/runner.rb:1:in `<top (required)>'\r\n\tfrom /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\r\n\tfrom /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\r\n\tfrom /usr/lib/ruby/gems/2.5.0/gems/danger-5.6.6/lib/danger.rb:4:in `<top (required)>'\r\n\tfrom /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\r\n\tfrom /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'\r\n\tfrom /usr/lib/ruby/gems/2.5.0/gems/danger-5.6.6/bin/danger:4:in `<top (required)>'\r\n\tfrom /usr/bin/danger:23:in `load'\r\n\tfrom /usr/bin/danger:23:in `<main>'\r\nERROR: Job failed: exit code 1\r\n```\r\n\r\n## Your Environment\r\n\r\n* Which CI are you running on? Gitlab CI\r\n* Are you running the latest version of Danger? Yes\r\n* What is your Dangerfile?\r\n\r\n  ```ruby\r\nmessage(\"TEST\")\r\n  ```\r\n\r\n.gitlab-ci.yml\r\n\r\n```yml\r\nvariables:\r\n  DANGER_GITLAB_API_TOKEN: \"XXX\"\r\n  DANGER_GITLAB_HOST: \"XXX\"\r\n  DANGER_GITLAB_API_BASE_URL: \"XXX\"\r\n\r\nstages:\r\n  - test\r\n\r\nbefore_script:\r\n  - apk add --update nodejs nodejs-npm ruby git\r\n  - gem install danger danger-prose --no-ri --no-rdoc\r\n  \r\ndanger:\r\n  environment: Development\r\n  stage: test\r\n  script:\r\n    - danger\r\n```"}}
{"actor":{"display_login":"muuvmuuv"}}