Ruby gems do not persist across workspace restarts
apolopena opened this issue · 1 comments
apolopena commented
Describe the bug
Any ruby gems installed when the workspace is initialized do not persist when the workspace is stoped and restarted.
Steps to reproduce
- Ensure that
install
value is set to1
in thegithub-changelog-generator
section ofstarter.ini
- Create a fresh workspace from this repo or a brach or fork of this repo.
- Verify that the github_changelog_generator gem is installed
- run the command
gem query --local | grep github_changelog_generator
- You will see output something like:
github_changelog_generator (1.15.2)
- You will see output something like:
- run the command
- Stop and workspace
- Start the workspace
- Verify that the github_changelog_generator gem is installed
- run the command
gem query --local | grep github_changelog_generator
- You will not see any output
- run the command
Furthermore after restarting the workspace and runningrake changelog
you will see the following error:
rake aborted!
LoadError: cannot load such file -- github_changelog_generator/task
Expected behavior
All ruby gems installed during workspace initialization should persist across workspace restarts
Additional information
See here.
There are many gems installed internall by gitpod that are also blown away on workspace restart.
Location of installed gems: ls -al /home/gitpod/.rvm/gems/ruby-2.6.6/gems
apolopena commented
Closed but not forgotten ;)