1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/devel/chruby/files/pkg-message.in
Steve Wills 7de86b37c8 Changes the current Ruby.
WWW: https://github.com/postmodern/chruby

PR:		ports/175552
Submitted by:	Ross Timson <ross@rosstimson.com>
2013-05-27 03:07:20 +00:00

28 lines
769 B
Plaintext

======================================================================
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
======================================================================