Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

195
Vistas
How to make irb output the same on Ubuntu and Windows?

I'm have irb 1.4.1 (2021-12-25) on Windows 10 and Ubuntu 16.04. On Windows, When I type in irb 1+2, on Windows I get # => 3, but on Ubuntu I get => 3.

For me this is not a trivial matter, because I generate hundreds of examples for ruby-lang.org, using irb on both systems; I need the output to be the same, so that the examples are consistent.

Thanks for any help.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

I've found irb conf.return format, which is different on the two systems. To set in irb, conf.return_format = "# => %s\n".

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda