Skip to content

Commit

Permalink
Merge pull request #138 from olimart/patch-1
Browse files Browse the repository at this point in the history
rails --> bin/rails command example in aliases
  • Loading branch information
dhh authored Oct 25, 2024
2 parents b179617 + c3921ed commit 5f8fb52
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 5f8fb52

Please sign in to comment.