here we have to tell Hatchet what type of a command `bin/rails console` is. Check out https://github.com/schneems/repl_runner#use for the underlying functionality, in this case `bin/rails console` behaves exactly like `:irb` so we can use the `:irb` type.

```ruby
app.run(:irb, "bin/rails console") do |console|
  # ...
```

Alternatively we can register this command with ReplRunner

```ruby
ReplRunner.register_commands(:"bin/rails_console")  do |config|
  config.terminate_command "exit"          # the command you use to end the 'rails console'
  config.startup_timeout 60                # seconds to boot
  config.return_char "\n"                  # the character that submits the command
  config.sync_stdout "STDOUT.sync = true"  # force REPL to not buffer standard out
end
```