Created
March 13, 2014 01:55
-
-
Save ashmckenzie/9520593 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
env | |
bundle install --deployment | |
export DISPLAY=:$$ | |
/usr/bin/Xvfb ${DISPLAY} -ac > /dev/null 2>&1 & | |
XVFB_PID=$! | |
/usr/bin/firefox > /dev/null 2>&1 & | |
FIREFOX_PID=$! | |
bundle exec rake | |
kill ${XVFB_PID} ${FIREFOX_PID} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment