apolopena / gitpod-laravel-starter

Configurable LAMP or LEMP stack starter project powered by Laravel and Gitpod. Supports Laravel 6, 7, and 8. Out of the box support for React, Vue, and Bootstrap frontends, with or without built-in auth .

Home Page:https://github.com/apolopena/gitpod-laravel-starter/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby gems do not persist across workspace restarts

apolopena opened this issue · comments

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

Closed but not forgotten ;)