menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Gitpod

Gitpod - one-click online IDE for GitHub

Channels
Team

How to install Jekyll?

April 30, 2019 at 11:21am

How to install Jekyll?

April 30, 2019 at 11:21am
When I open an empty repository and type "gem install jekyll bundler" everything is installed without warning. When executing the same command in a Dockerfile via "USER gitpod RUN gem install jekyll bundler" I get some "permission denied" error messages.
What do I have to do to have Jekyll installed in my Gitpod workspace?

April 30, 2019 at 2:28pm
when inheriting from workspace-full you typically have to do RUN bash -lc "gem install jekyll bundler" because a lot of the language tools (such as gem) are configured in .bashrc, which is only parsed for login shells (thus the bash -l). Verifying with your command...
like-fill
2
Yes, works. :)

May 1, 2019 at 7:05am
Thank you :) works like a charm :)

May 2, 2019 at 12:38pm
After thinking about this: Technically it's not necessary and we could improve here: https://github.com/gitpod-io/gitpod/issues/538