{"action":"created","issue":{"url":"https://api.github.com/repos/jekyll/docker/issues/84","repository_url":"https://api.github.com/repos/jekyll/docker","labels_url":"https://api.github.com/repos/jekyll/docker/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/jekyll/docker/issues/84/comments","events_url":"https://api.github.com/repos/jekyll/docker/issues/84/events","html_url":"https://github.com/jekyll/docker/issues/84","id":128380103,"number":84,"title":"How to install Jekyll plugins?","user":{"login":"danielgratzl","id":551557,"avatar_url":"https://avatars.githubusercontent.com/u/551557?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgratzl","html_url":"https://github.com/danielgratzl","followers_url":"https://api.github.com/users/danielgratzl/followers","following_url":"https://api.github.com/users/danielgratzl/following{/other_user}","gists_url":"https://api.github.com/users/danielgratzl/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgratzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgratzl/subscriptions","organizations_url":"https://api.github.com/users/danielgratzl/orgs","repos_url":"https://api.github.com/users/danielgratzl/repos","events_url":"https://api.github.com/users/danielgratzl/events{/privacy}","received_events_url":"https://api.github.com/users/danielgratzl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jekyll/docker/labels/maybe-invalid:depends","name":"maybe-invalid:depends","color":"fbca04"},{"url":"https://api.github.com/repos/jekyll/docker/labels/pending:feedback","name":"pending:feedback","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-24T07:54:13Z","updated_at":"2016-02-09T06:28:55Z","closed_at":null,"body":"We are using \"https://github.com/slashdotdash/jekyll-lunr-js-search\" in our project. Running the default version of jekyll/docker fails because of a missing dependency to \"therubyracer\".\r\nIf I understood it correctly this should be solvable by providing a `Gemfile``\r\n\r\n````\r\ngem \"therubyracer\"\r\n```\r\n\r\nalong with our Jekyll project. Doing this, triggers the installation but finally fails with an error message about `redcarpet` being missing.\r\n\r\nAny help is greatly appreciated\r\n\r\n```\r\ndocker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll   -it -p $(docker-machine ip `docker-machine active`):4000:4000     jekyll/jekyll\r\nFetching: ref-2.0.0.gem (100%)\r\nInstalling ref (2.0.0)\r\nFetching: libv8-3.16.14.13-x86_64-linux.gem (100%)\r\nInstalling libv8 (3.16.14.13)\r\nFetching: therubyracer-0.12.2.gem (100%)\r\nInstalling therubyracer (0.12.2)\r\nBuilding native extensions.  This could take a while...\r\nERROR:  While executing gem ... (Gem::Ext::BuildError)\r\n    ERROR: Failed to build gem native extension.\r\n\r\n    current directory: /usr/lib/ruby/gems/2.2.0/gems/therubyracer-0.12.2/ext/v8\r\n/usr/bin/ruby -r ./siteconf20160124-21-1klcs4a.rb extconf.rb\r\nmkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h\r\n\r\nextconf failed, exit code 1\r\n\r\nGem files will remain installed in /usr/lib/ruby/gems/2.2.0/gems/therubyracer-0.12.2 for inspection.\r\nResults logged to /usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/therubyracer-0.12.2/gem_make.out\r\nfetch http://dl-1.alpinelinux.org/alpine/v3.3/main/x86_64/APKINDEX.tar.gz\r\nfetch http://dl-2.alpinelinux.org/alpine/v3.3/main/x86_64/APKINDEX.tar.gz\r\nfetch http://dl-3.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz\r\nfetch http://dl-4.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz\r\n(1/27) Upgrading musl (1.1.12-r1 -> 1.1.12-r2)\r\n(2/27) Installing binutils-libs (2.25.1-r0)\r\n(3/27) Installing binutils (2.25.1-r0)\r\n(4/27) Installing isl (0.14.1-r0)\r\n(5/27) Installing libgomp (5.3.0-r0)\r\n(6/27) Installing libatomic (5.3.0-r0)\r\n(7/27) Installing pkgconf (0.9.12-r0)\r\n(8/27) Installing pkgconfig (0.25-r1)\r\n(9/27) Installing mpfr3 (3.1.2-r0)\r\n(10/27) Installing mpc1 (1.0.3-r0)\r\n(11/27) Installing gcc (5.3.0-r0)\r\n(12/27) Installing make (4.1-r0)\r\n(13/27) Installing musl-dev (1.1.12-r2)\r\n(14/27) Installing libc-dev (0.7-r0)\r\n(15/27) Installing fortify-headers (0.7-r0)\r\n(16/27) Installing g++ (5.3.0-r0)\r\n(17/27) Installing build-base (0.4-r1)\r\n(18/27) Upgrading musl-utils (1.1.12-r1 -> 1.1.12-r2)\r\n(19/27) Installing libffi-dev (3.2.1-r2)\r\n(20/27) Installing zlib-dev (1.2.8-r2)\r\n(21/27) Installing libxml2-dev (2.9.3-r0)\r\n(22/27) Installing libxslt-dev (1.1.28-r2)\r\n(23/27) Installing readline-dev (6.3.008-r4)\r\n(24/27) Installing libgmpxx (6.1.0-r0)\r\n(25/27) Installing gmp-dev (6.1.0-r0)\r\n(26/27) Installing ruby-dev (2.2.4-r0)\r\n(27/27) Installing yaml-dev (0.1.6-r1)\r\nExecuting busybox-1.24.1-r7.trigger\r\nOK: 272 MiB in 76 packages\r\nUsing ref (2.0.0)\r\nUsing libv8 (3.16.14.13)\r\nInstalling therubyracer (0.12.2)\r\nBuilding native extensions.  This could take a while...\r\nConfiguration file: /srv/jekyll/_config.yml\r\n            Source: /srv/jekyll\r\n       Destination: /srv/jekyll/_site\r\n Incremental build: disabled. Enable with --incremental\r\n      Generating...\r\n  Dependency Error: Yikes! It looks like you don't have redcarpet or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- redcarpet' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!\r\n  Conversion error: Jekyll::Converters::Markdown encountered an error while converting 'api/v1/concepts/authentication/index.md':\r\n                    redcarpet\r\n             ERROR: YOUR SITE COULD NOT BE BUILT:\r\n                    ------------------------------------\r\n                    redcarpet\r\nok: down: /etc/startup3.d/nginx: 1s, normally up\r\nsh: can't kill pid 180: No such process\r\n```"},"comment":{"url":"https://api.github.com/repos/jekyll/docker/issues/comments/181729683","html_url":"https://github.com/jekyll/docker/issues/84#issuecomment-181729683","issue_url":"https://api.github.com/repos/jekyll/docker/issues/84","id":181729683,"user":{"login":"danielgratzl","id":551557,"avatar_url":"https://avatars.githubusercontent.com/u/551557?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgratzl","html_url":"https://github.com/danielgratzl","followers_url":"https://api.github.com/users/danielgratzl/followers","following_url":"https://api.github.com/users/danielgratzl/following{/other_user}","gists_url":"https://api.github.com/users/danielgratzl/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgratzl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgratzl/subscriptions","organizations_url":"https://api.github.com/users/danielgratzl/orgs","repos_url":"https://api.github.com/users/danielgratzl/repos","events_url":"https://api.github.com/users/danielgratzl/events{/privacy}","received_events_url":"https://api.github.com/users/danielgratzl/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T06:28:55Z","updated_at":"2016-02-09T06:28:55Z","body":"Any news on this?"}}