Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 14:24:32 -0800 (PST)
From:      Ross Timson <ross@rosstimson.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/175552: [NEW PORT] devel/chruby: Changes the current Ruby
Message-ID:  <5101b4a0.c86db40a.0c64.65e5@mx.google.com>
Resent-Message-ID: <201301242230.r0OMU0LP018516@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175552
>Category:       ports
>Synopsis:       [NEW PORT] devel/chruby: Changes the current Ruby
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 24 22:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ross Timson
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD adrastea.rosstimson.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:
Changes the current Ruby.

WWW: https://github.com/postmodern/chruby

Generated with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:
>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	chruby
#	chruby/files
#	chruby/files/pkg-message.in
#	chruby/pkg-descr
#	chruby/Makefile
#	chruby/distinfo
#
echo c - chruby
mkdir -p chruby > /dev/null 2>&1
echo c - chruby/files
mkdir -p chruby/files > /dev/null 2>&1
echo x - chruby/files/pkg-message.in
sed 's/^X//' >chruby/files/pkg-message.in << '035eb3e876536eca97d23f40cfe76e9d'
X======================================================================
X
XAdd the following to the /etc/profile.d/chruby.sh, ~/.bash_profile or
X~/.zprofile file:
X
Xsource %%PREFIX%%/share/chruby/chruby.sh
X
XBy default chruby will search for Rubies installed into /opt/rubies/ or
X~/.rubies/. For non-standard installation locations, simply set the RUBIES
Xvariable:
X
XRUBIES=(
X  /opt/jruby-1.7.0
X  $HOME/src/rubinius
X)
X
XIf you are migrating from another Ruby manager, set `RUBIES` accordingly:
X
XRVM: RUBIES=(~/.rvm/rubies/*)
Xrbenv: RUBIES=(~/.rbenv/versions/*)
Xrbfu: RUBIES=('~/.rbfu/rubies/*)
X
XTo enable auto-switching of Rubies specified by .ruby-version files:
X
Xsource %%PREFIX%%/share/chruby/auto.sh
X
X======================================================================
035eb3e876536eca97d23f40cfe76e9d
echo x - chruby/pkg-descr
sed 's/^X//' >chruby/pkg-descr << '92390703a29e9625d1b214bf120d9ba1'
XChanges the current Ruby.
X
XWWW: https://github.com/postmodern/chruby
92390703a29e9625d1b214bf120d9ba1
echo x - chruby/Makefile
sed 's/^X//' >chruby/Makefile << '9ac9ba18f4d8ab2b4844d399020e58b4'
X# Created by: Ross Timson <ross@rosstimson.com>
X# $FreeBSD$
X
XPORTNAME=chruby
XPORTVERSION=0.3.2
XCATEGORIES=devel ruby
XMASTER_SITES=GH
X
XMAINTAINER=ross@rosstimson.com
XCOMMENT=Changes the current Ruby
X
XLICENSE=MIT
XLICENSE_FILE=${WRKSRC}/LICENSE.txt
X
XRUN_DEPENDS=bash:${PORTSDIR}/shells/bash
X
XPLIST_FILES=bin/chruby-exec share/chruby/auto.sh share/chruby/chruby.sh
X
XSUB_FILES=pkg-message
XSUB_LIST=PREFIX=${PREFIX}
X
XUSE_GITHUB=yes
XGH_ACCOUNT=postmodern
XGH_PROJECT=chruby
XGH_COMMIT=872cd1b
XGH_TAGNAME=v${PORTVERSION}
X
XNO_BUILD=yes
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/bin/chruby-exec ${PREFIX}/bin
X	( cd ${WRKSRC}/share/chruby && ${COPYTREE_BIN} \* ${PREFIX}/share/chruby )
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
9ac9ba18f4d8ab2b4844d399020e58b4
echo x - chruby/distinfo
sed 's/^X//' >chruby/distinfo << '2a706c6e34eb1be769bef53cdaf2aace'
XSHA256 (chruby-0.3.2.tar.gz) = 9d3d73fbf9d19acccdb5d3ba9377a6bd81eb0a27c436472ed44084ef6f4a1567
XSIZE (chruby-0.3.2.tar.gz) = 13385
2a706c6e34eb1be769bef53cdaf2aace
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5101b4a0.c86db40a.0c64.65e5>