Skip to content

Commit

Permalink
rails --> bin/rails command example in aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
olimart authored Oct 19, 2024
1 parent b179617 commit c3921ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/configuration/aliases.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ Aliases are shortcuts for Kamal commands.
For example, for a Rails app, you might open a console with:

```shell
kamal app exec -i --reuse "rails console"
kamal app exec -i --reuse "bin/rails console"
```

By defining an alias, like this:

```yaml
aliases:
console: app exec --reuse -i "rails console"
console: app exec --reuse -i "bin/rails console"
```
You can now open the console with:
Expand Down

0 comments on commit c3921ed

Please sign in to comment.