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


Gitpod - one-click online IDE for GitHub


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...
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: