File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 3.3.0
1+ 3.3.7
Original file line number Diff line number Diff line change 11FROM ghcr.io/arquitecturas-concurrentes/iasc-rvm-debian-slim:main
22
33# preinstall some ruby versions
4- ENV REQUIRED_RUBIES "3.3.0 jruby-9.3.1.0"
4+ ENV REQUIRED_RUBIES "3.3.7 jruby-9.3.1.0"
55RUN /bin/bash -l -c 'for version in $REQUIRED_RUBIES; do echo "Now installing Ruby $version"; rvm install $version; rvm cleanup all; done'
66
7- RUN /bin/bash -l -c 'rvm alias create mri ruby-3.3.0 '
7+ RUN /bin/bash -l -c 'rvm alias create mri ruby-3.3.7 '
88RUN /bin/bash -l -c 'rvm alias create jruby jruby-9.3.1.0'
99
1010# /app will have the puma practice
Original file line number Diff line number Diff line change 11source 'https://rubygems.org'
22
3- gem 'activesupport' , '>= 5.2.4.3'
4- gem 'sinatra' , '~> 2.2.0'
3+ gem 'activesupport'
4+ gem 'sinatra'
55
6- gem "puma" , ">= 5.6.4"
6+ gem "puma"
77
88group :development , :test do
99 gem 'pry'
Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ PLATFORMS
5252 x86_64-linux
5353
5454DEPENDENCIES
55- activesupport ( >= 5.2.4.3 )
55+ activesupport
5656 pry
5757 pry-remote
58- puma ( >= 5.6.4 )
59- sinatra ( ~> 2.2.0 )
58+ puma
59+ sinatra
6060
6161BUNDLED WITH
6262 2.5.3
Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile
9696Y luego, instalar Ruby y [ bundler] ( http://bundler.io/ ) :
9797
9898``` bash
99- rvm install 3.3.0
100- rvm use 3.3.0
99+ rvm install 3.3.7
100+ rvm use 3.3.7
101101gem install bundler
102102```
103103
@@ -210,6 +210,15 @@ El repo ya cuenta con dos scripts que utilizan `ab`: `ab_cpu_requests.bash` y `a
210210
211211Siéntanse libres de modificar estos scripts en base a las pruebas que quieran realizar.
212212
213+ #### ¿Qué pasa si el endpoint de IO no encuentra el archivo?
214+
215+ Hay que crear un archivo, hay un script de bash que genera el archivo para esto.
216+
217+ El nombre del script es ` generate_file.bash `
218+
219+ solo hace falta correrlo una vez para generar un archivo que usara ese endpoint.
220+
221+
213222#### ¿Cómo controlar la cantidad de hilos y procesos
214223
215224El comando ` puma ` acepta dos parámetros para controlarlos ` -t ` y ` -w ` :
You can’t perform that action at this time.
0 commit comments