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

Use the bundler shipped with ruby for non-MRI #2811

Merged
merged 2 commits into from Jan 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/non_mri.yml
Expand Up @@ -45,6 +45,9 @@ jobs:
apt-get: ragel
brew: ragel
mingw: _upgrade_ openssl ragel
# Use the bundler shipped with that ruby,
# temporary workaround for https://github.com/oracle/truffleruby/issues/2586
bundler: none
bundler-cache: true
timeout-minutes: 10

Expand Down
5 changes: 5 additions & 0 deletions test/test_puma_server.rb
Expand Up @@ -349,6 +349,11 @@ def test_lowlevel_error_message
@server = Puma::Server.new @app, @events, {:force_shutdown_after => 2}

server_run do
if TestSkips::TRUFFLE
# SystemStackError is too brittle, use something more reliable
raise Exception, "error"
end

require 'json'

# will raise fatal: machine stack overflow in critical region
Expand Down