This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 33 lines (29 sloc) 1.35 KB
require() {
( command -v ${need} >/dev/null 2>&1 ) && ( ${need} ${version_switch} | grep --silent ${version})
if [ $? -eq 1 ]; then
echo ${need} ${version} " is required, but it's not installed."
echo ${howto}
echo ""
echo ${why}
exit 1
require "ruby" "--version" "ruby" "ruby should be pre-installed" "Panic, or ask a friend for help."
require "brew" "--version" "0.9.2" "ruby <(curl -fsSkL" "Homebrew helps install all kinds of command line goodness."
require "rvm" "version" "1.15" "curl -L | bash -s stable" "rvm helps with ruby. After installing,\nrun 'rvm requirements' then follow directions under Xcode 4.2 and Homebrew."
require "ruby" "--version" "1.9.3" "rvm install 1.9.3" "ruby is used for combinining markup with templates to generate the site"
require "git" "--version" "git" "brew install git" "git is used for version control of files"
echo "Looks like you are all ready! Probably, mostly."
echo ""
echo "Do you have a github account, and membership in the neo4j-contrib Web Masters team? Ask @akollegger."
echo ""
echo "With an account, you can then clone the repository by doing this:"
echo "git clone"
echo ""
echo "Finally. Read the readme."