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

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

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

francescolavra
Copy link
Member

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.

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.
@francescolavra francescolavra merged commit 1085d25 into master Jan 19, 2024
5 checks passed
@francescolavra francescolavra deleted the fix/test-ruby branch January 19, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants