Skip to content

Commit c260570

Browse files
committed
Update brew formula opt shortcut.
1 parent ceecb3a commit c260570

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

homebrew/chruby.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def install
1414
def caveats; <<-EOS.undent
1515
Add the following to the ~/.bashrc or ~/.zshrc file:
1616
17-
source #{opt_prefix}/share/chruby/chruby.sh
17+
source #{opt_share}/chruby/chruby.sh
1818
1919
By default chruby will search for Rubies installed into /opt/rubies/ or
2020
~/.rubies/. For non-standard installation locations, simply set the RUBIES
@@ -34,7 +34,7 @@ def caveats; <<-EOS.undent
3434
To enable auto-switching of Rubies specified by .ruby-version files,
3535
add the following to ~/.bashrc or ~/.zshrc:
3636
37-
source #{opt_prefix}/share/chruby/auto.sh
37+
source #{opt_share}/chruby/auto.sh
3838
EOS
3939
end
4040
end

0 commit comments

Comments
 (0)