From e2a2153c93f66dbad64d8986d07d8e431cba241d Mon Sep 17 00:00:00 2001 From: Robin Houston Date: Wed, 25 Jan 2012 22:18:52 +0000 Subject: Make the load-sample-data script actually work --- script/load-sample-data | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'script/load-sample-data') diff --git a/script/load-sample-data b/script/load-sample-data index 0521ef849..84b8a28eb 100755 --- a/script/load-sample-data +++ b/script/load-sample-data @@ -6,7 +6,15 @@ LOC=`dirname $0` rake --silent spec:db:fixtures:load -"$LOC/runner" 'puts File.expand_path(File.dirname(__FILE__) + "/spec/spec_helper"); require File.expand_path(File.dirname(__FILE__) + "/spec/spec_helper"); RawEmail.all().each {|email| email.data = load_file_fixture("useless_raw_email.email")}' +"$LOC/runner" /dev/stdin <