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
Bulk of this snagged from: https://gist.github.com/guilleiguaran/56a3879da5f6b6f467ce | |
Fixtures bit snagged from: https://github.com/cucumber/cucumber/wiki/Fixtures | |
require 'active_record' | |
require 'active_record/fixtures' | |
class MiniTest::Spec | |
ActiveRecord::Base.establish_connection( | |
:adapter => "sqlite3", | |
:database => "./db/development.sqlite3" | |
) |
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
1) Ibp_Service_Survo_AuditTest::testRunWithoutPersist with data set #0 (true, , true) | |
Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused | |
/usr/local/zend/var/libraries/Zend_Framework_1/1.12.3/library/Zend/Db/Adapter/Pdo/Abstract.php:144 | |
/usr/local/zend/var/libraries/Zend_Framework_1/1.12.3/library/Zend/Db/Adapter/Pdo/Abstract.php:129 | |
/usr/local/zend/var/libraries/Zend_Framework_1/1.12.3/library/Zend/Db/Adapter/Pdo/Mysql.php:109 | |
/usr/local/zend/var/libraries/Zend_Framework_1/1.12.3/library/Zend/Db/Adapter/Abstract.php:861 | |
/usr/local/zend/var/libraries/Zend_Framework_1/1.12.3/library/Zend/Db/Adapter/Abstract.php:931 | |
/usr/local/zend/var/libraries/Zend_Framework_1/1.12.3/library/Zend/Db/Adapter/Abstract.php:694 | |
/usr/local/zend/var/libraries/Zend_Framework_1/1.12.3/library/Zend/Db/Adapter/Abstract.php:621 |
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
#!/bin/bash | |
# Sync Homebrew installations between Macs via Dropbox | |
# | |
BREW="/usr/local/bin/brew" | |
# first get local settings | |
echo "Reading local settings ..." | |
rm -f /tmp/brew-sync.* |