Skip to content

Instantly share code, notes, and snippets.

cp ~/.profile ~/.profile.bak
echo 'export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"' > ~/.profile
. ~/.profile
echo 'Creating src directory'
mkdir ~/src
cd ~/src
echo 'Installing Git'
cd ~/src
generate("cucumber")
run("rm -rf features")
git(:clone => "http://github.com/ultrasaurus/workshop-features.git")
inside("features") { run("rm -rf .git") }
rake("db:migrate")
cp ~/.profile ~/.profile.bak
echo 'export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"' > ~/.profile
. ~/.profile
echo 'Creating src directory'
mkdir ~/src
cd ~/src
echo 'Installing Git'
cd ~/src
# A progression of Shoes (shoooes.net) applications, from empty to
# a canvas with drawing and buttons. Used in GetSET program curriculum.
# Note: if you run this file as-is, you'll get tons of open windows -
# I recommend running one Shoes.app block at a time.
# Empty application
Shoes.app do
end