How to start IRB from an application with a specific prompt

Right now I use:

system ‘irb --prompt my-prompt --readline’

You can start IRB with:


But does anyone know how to start IRB this way with
a specific prompt?

Right now I use system and this feels unclean. :confused:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs