Skip to content

Commit 5657f27

Browse files
committed
README: add new way to specify ruby from RVM 1.26.12
1 parent b6d4a7a commit 5657f27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ If you are using rvm you need to install pre-commit into the ```default``` gemse
2828

2929
Alternatively you can configure pre-commit to use the ```current``` rvm gemset
3030

31-
$ git config pre-commit.ruby "rvm `rvm current` do ruby"
31+
$ git config pre-commit.ruby "rvm `rvm current` do ruby" # OR:
32+
$ git config pre-commit.ruby `rvm wrapper current show ruby` # available in RVM 1.26.12
3233

3334
## Available checks
3435

0 commit comments

Comments
 (0)