make sure the setup_db script can find the library

This commit is contained in:
Brian Lopez 2010-07-08 22:56:42 -07:00
parent 3f2e948c5f
commit 52f42ba38b
1 changed files with 2 additions and 1 deletions

View File

@ -1,12 +1,13 @@
# encoding: UTF-8 # encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..') $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 # This script is for generating psudo-random data into a single table consisting of nearly every
# data type MySQL 5.1 supports. # data type MySQL 5.1 supports.
# #
# It's meant to be used with the query.rb benchmark script (or others in the future) # 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 'rubygems'
require 'faker' require 'faker'