logo
Interact with the rails console or execute ad-hoc scripts in a application running Ruby On Rails.

Configuration

To proxy the rails console command, execute the following command within your root application path.
shell
hoop run --name railsc-demo --command 'rails console'
To proxy ad-hoc executions add the command rails runner - .
shell
hoop run --name rails-adhoc-demo --command 'rails runner -'

How to Use

Users can now connect and perform ad-hoc executions.
shell
hoop connect railsc-demo
it will proxy the rails console command
shell
hoop exec rails-adhoc-demo -i 'puts "Hello World"'
it will run the command puts "Hello World" as an ad-hoc execution.

Quick Start Guide