nanovms / nanos

A kernel designed to run one and only one application in a virtualized environment
https://nanos.org
Apache License 2.0
2.58k stars 133 forks source link

E2E tests: ruby: remove sinatra gem install and GEM_HOME env var #1990

Closed francescolavra closed 7 months ago

francescolavra commented 7 months ago

The ruby_3.1.2 package already includes the sinatra gem, thus it is not necessary to install it locally in order to run a Ruby web server. This change removes the sinatra gem installation step in the Rubty e2e test; in addition, the GEM_HOME environment variable is being removed from the Ops configuration file because the Ruby package already provides a correct value for this variable (consistent with the contents of the package). This change fixes a 'Sinatra could not start, the "rackup" gem was not found' error that occurs when trying to run the (locally installed) latest release of the sinatra gem during the e2e tests.