Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote branch 'upstream/master'
- Loading branch information
Showing
31 changed files
with
325 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.6.24 | ||
1.6.25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ ree-1.8.7-head | |
kiji | ||
|
||
# MagLev | ||
maglev[-26063] | ||
maglev[-26197] | ||
maglev-head | ||
|
||
# Mac OS X Snow Leopard Only | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
after_use_hooks=($( | ||
find "${rvm_path:-"$HOME/.rvm"}/hooks" -iname 'after_use_*' -type f | ||
)) | ||
|
||
for after_use_hook in "${after_use_hooks[@]}" | ||
do | ||
if [[ -x "${after_use_hook}" ]] | ||
then | ||
. "${after_use_hook}" | ||
fi | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [[ "${rvm_ruby_string}" =~ "jruby" ]] | ||
then | ||
. "${rvm_path}/scripts/functions/hooks/jruby" | ||
|
||
if ! jruby_ngserver_is_running | ||
then | ||
(JRUBY_OPTS='' jruby --ng-server 2>&1 1>/dev/null)& | ||
fi | ||
else | ||
for function in jruby_ngserver_is_running jruby ruby | ||
do | ||
if declare -f ${function} | \grep -q "${function} ()" | ||
then | ||
unset -f $function | ||
fi | ||
done | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Copyright 1999-2010 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=2 | ||
|
||
inherit eutils | ||
|
||
# This should be the first 7 characters of the tagged version's commit. | ||
VERSION_SHORT_SHA1="b83b808" | ||
|
||
SRC_URI="http://github.com/wayneeseguin/rvm/tarball/${PV} -> ${P}.tar.gz" | ||
S="${WORKDIR}/wayneeseguin-rvm-${VERSION_SHORT_SHA1}" | ||
|
||
DESCRIPTION="RVM facilitates easy installation and management of multiple Ruby environments and sets of gems" | ||
HOMEPAGE="http://rvm.beginrescueend.com/" | ||
LICENSE="MIT" | ||
SLOT="0" | ||
KEYWORDS="~x86 ~amd64" | ||
IUSE="mono java" | ||
|
||
RDEPEND="net-misc/curl | ||
sys-devel/patch | ||
java? ( | ||
dev-java/sun-jdk | ||
dev-java/sun-jre-bin | ||
) | ||
mono? ( dev-lang/mono )" | ||
|
||
RVM_DIR="/opt/rvm" | ||
|
||
src_install() { | ||
for v in `env | egrep '^rvm_' | cut -d '=' -f 1`; do | ||
unset $v | ||
done | ||
|
||
# Set variables for installation (only!) | ||
export rvm_prefix="${D}" | ||
export rvm_path="${D}${RVM_DIR}" | ||
export rvm_user_install=1 | ||
|
||
./install || die "Installation failed." | ||
|
||
# Set variables for actual operation in a default rvmrc | ||
echo "rvm_user_install=1" > "${T}"/rvmrc | ||
echo "rvm_prefix=\"$(dirname $RVM_DIR)/\"" >> "${T}"/rvmrc | ||
echo "rvm_path=\"${RVM_DIR}\"" >> "${T}"/rvmrc | ||
|
||
insinto /etc | ||
doins "${T}"/rvmrc || die "Failed to install /etc/rvmrc." | ||
elog "A default /etc/rvmrc has been installed. Feel free to modify it." | ||
elog | ||
|
||
elog "Before any user (including root) can use rvm, the following line must be appended" | ||
elog "to the end of the user's shell's loading files (.bashrc and then .bash_profile" | ||
elog "for bash; or .zshrc for zsh), after all path/variable settings:" | ||
elog | ||
elog " [[ -s $RVM_DIR/scripts/rvm ]] && source $RVM_DIR/scripts/rvm" | ||
} |
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#/usr/bin/env bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
jruby_ngserver_is_running() | ||
{ | ||
ps auxww | grep -q '[s]un.java.command=com.martiansoftware.nailgun.NGServer' | ||
} | ||
|
||
jruby() | ||
{ | ||
if jruby_ngserver_is_running | ||
then | ||
command jruby --ng "$@" | ||
else | ||
command jruby "$@" | ||
fi | ||
} | ||
|
||
ruby() | ||
{ | ||
jruby "$@" | ||
} | ||
|
Oops, something went wrong.