forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Portfile
39 lines (29 loc) · 1.24 KB
/
Portfile
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
30
31
32
33
34
35
36
37
38
39
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
github.setup postmodern chruby 0.3.9 v
revision 0
categories ruby
license MIT
platforms darwin
supported_archs noarch
maintainers {catlett.info:chad @chadcatlett} \
{hotmail.com:franklinyu @FranklinYu} \
openmaintainer
description Ruby version changer
long_description chruby changes the current Ruby version. It supports bash \
and zsh.
checksums rmd160 8db66e0e2e29698ee048d1580a337ff60b998f26 \
sha256 5bc542aa03732abec8a6872c9aca003728629f4e2b0ec01062689a4023c6c24c \
size 20925
use_configure no
build {}
# remove this in next release
destroot.destdir PREFIX=${destroot}${prefix}
notes "
Add the following to the ~/.bash_profile or ~/.zshrc file:
source ${prefix}/share/chruby/chruby.sh
To enable auto-switching of Rubies specified by .ruby-version files,\
add the following to ~/.bash_profile or ~/.zshrc:
source ${prefix}/share/chruby/auto.sh
"