From 52f42ba38b1042d4c7cb2852de6ecfc24623d52f Mon Sep 17 00:00:00 2001 From: Brian Lopez Date: Thu, 8 Jul 2010 22:56:42 -0700 Subject: [PATCH] make sure the setup_db script can find the library --- benchmark/setup_db.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmark/setup_db.rb b/benchmark/setup_db.rb index e80bfa2..d49a0a7 100644 --- a/benchmark/setup_db.rb +++ b/benchmark/setup_db.rb @@ -1,12 +1,13 @@ # encoding: UTF-8 $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..') +$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib') # This script is for generating psudo-random data into a single table consisting of nearly every # data type MySQL 5.1 supports. # # It's meant to be used with the query.rb benchmark script (or others in the future) -require 'mysql2_ext' +require 'mysql2' require 'rubygems' require 'faker'