summaryrefslogtreecommitdiff
path: root/devel/chruby/files/pkg-message.in
blob: 71806c181149c5e13dfeb6577df22d20e37e11d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[
{ type: install
  message: <<EOM
Add the following to the /etc/profile.d/chruby.sh, ~/.bash_profile or
~/.zprofile file:

source %%PREFIX%%/share/chruby/chruby.sh

By default chruby will search for Rubies installed into /opt/rubies/ or
~/.rubies/. For non-standard installation locations, simply set the RUBIES
variable:

RUBIES=(
  /opt/jruby-1.7.0
  $HOME/src/rubinius
)

If you are migrating from another Ruby manager, set `RUBIES` accordingly:

RVM: RUBIES=(~/.rvm/rubies/*)
rbenv: RUBIES=(~/.rbenv/versions/*)
rbfu: RUBIES=('~/.rbfu/rubies/*)

To enable auto-switching of Rubies specified by .ruby-version files:

source %%PREFIX%%/share/chruby/auto.sh
EOM
}
]