Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 1.17.10
Fetching contributors…

Cannot retrieve contributors at this time

executable file 27 lines (24 sloc) 0.556 kb
#!/usr/bin/env bash
function rake_not_found()
{
printf "%b" "$(tput setaf 1)ERROR: Gem rake is not installed, run \`gem install rake\` first.$(tput sgr0)\n"
exit 127
}
# in rvm warn about missing gem
if [[ -n "${GEM_HOME:-}" ]]
then
rake_not_found
else
current_rake="$(dirname $(which $0))"
export PATH
PATH=":${PATH}:"
PATH="${PATH//:${current_rake}:/:}"
PATH="${PATH#:}"
PATH="${PATH%:}"
if [[ -n "${current_rake}" ]] && builtin command -v rake >/dev/null 2>&1
then
builtin command rake "$@"
else
rake_not_found
fi
fi
Jump to Line
Something went wrong with that request. Please try again.