Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby gems do not persist across workspace restarts #57

Closed
apolopena opened this issue Mar 7, 2021 · 1 comment
Closed

Ruby gems do not persist across workspace restarts #57

apolopena opened this issue Mar 7, 2021 · 1 comment
Assignees
Labels
awaiting-gitpod-internal-fix The issue will be addressed by the gitpod team internal-gitpod-bug Bug in the Gitpod platform itself

Comments

@apolopena
Copy link
Owner

apolopena commented Mar 7, 2021

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

  1. Ensure that install value is set to 1 in the github-changelog-generator section of starter.ini
  2. Create a fresh workspace from this repo or a brach or fork of this repo.
  3. 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)
  4. Stop and workspace
  5. Start the workspace
  6. 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

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 apolopena added the bug Something isn't working label Mar 7, 2021
@apolopena apolopena self-assigned this Mar 7, 2021
@apolopena apolopena added the internal-gitpod-bug Bug in the Gitpod platform itself label Mar 7, 2021
@apolopena apolopena added awaiting-gitpod-internal-fix The issue will be addressed by the gitpod team and removed bug Something isn't working labels Apr 26, 2021
@apolopena
Copy link
Owner Author

Closed but not forgotten ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-gitpod-internal-fix The issue will be addressed by the gitpod team internal-gitpod-bug Bug in the Gitpod platform itself
Projects
None yet
Development

No branches or pull requests

1 participant