Skip to content

Commit

Permalink
bump ruby to newer version (#1987)
Browse files Browse the repository at this point in the history
* bump ruby to newer version

* bump

* .

---------

Co-authored-by: Ian Eyberg <[email protected]>
  • Loading branch information
eyberg and Ian Eyberg authored Jan 4, 2024
1 parent 630997b commit 5371b48
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/e2e/e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,14 @@ func testPackages(t *testing.T) {
{name: "stressdisk", dir: "stressdisk", elf: "main", prebuild: stresstestPrebuild},
{name: "stressdisk_2", dir: "stressdisk", elf: "main", postrun: stresstestPostrun},
{name: "node_alloc", pkg: "eyberg/node:20.5.0", dir: "node_alloc"},
{name: "ruby_alloc", pkg: "eyberg/ruby:3.0.0", dir: "ruby_alloc"},
{name: "ruby_alloc", pkg: "eyberg/ruby:3.1.2", dir: "ruby_alloc"},
{name: "python_alloc", pkg: "eyberg/python:3.10.6", dir: "python_alloc"},
{name: "cloud_init", dir: "cloud_init", elf: "main", prebuild: cloudPrebuild},
{name: "python_3.6.7", pkg: "eyberg/python:3.6.7", dir: "python_3.6.7", request: "http://0.0.0.0:8000"},
{name: "node_v11.5.0", pkg: "eyberg/node:v11.5.0", dir: "node_v11.5.0", request: "http://0.0.0.0:8083"},
{name: "nginx_1.15.6", pkg: "eyberg/nginx:1.15.6", dir: "nginx_1.15.6", request: "http://0.0.0.0:8084"},
{name: "php_7.3.5", pkg: "eyberg/php:7.3.5", dir: "php_7.3.5", request: "http://0.0.0.0:9501"},
{name: "ruby_2.5.1", pkg: "eyberg/ruby:2.5.1", dir: "ruby_2.5.1", request: "http://0.0.0.0:4567", prebuild: rubyPrebuild},
{name: "ruby_3.1.2", pkg: "eyberg/ruby:3.1.2", dir: "ruby_3.1.2", request: "http://0.0.0.0:4567", prebuild: rubyPrebuild},
{name: "go", dir: "go", request: "http://0.0.0.0:8080", elf: "main", prebuild: goPrebuild},
{name: "rust", dir: "rust", request: "http://0.0.0.0:8080", elf: "main", prebuild: rustPrebuild, nocross: true},
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Args": ["myapp.rb", "-o", "0.0.0.0"],
"Args": ["myapp.rb"],
"Dirs": [".ruby"],
"ENV": {
"GEM_HOME": ".ruby"
Expand Down
2 changes: 2 additions & 0 deletions test/e2e/ruby_2.5.1/myapp.rb → test/e2e/ruby_3.1.2/myapp.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require 'sinatra'

set :bind, '0.0.0.0'

get '/' do
'Hello World!'
end

0 comments on commit 5371b48

Please sign in to comment.