fix load path in benchmark scripts

This commit is contained in:
Brian Lopez 2010-07-08 23:26:18 -07:00
parent 023f85704f
commit f0e7e4a425
6 changed files with 6 additions and 9 deletions

View File

@ -1,5 +1,4 @@
# encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
require 'rubygems'

View File

@ -1,10 +1,10 @@
# encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
require 'rubygems'
require 'benchmark'
require 'mysql'
require 'mysql2_ext'
require 'mysql2'
require 'do_mysql'
number_of = 1000

View File

@ -1,10 +1,10 @@
# encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
require 'rubygems'
require 'benchmark'
require 'mysql'
require 'mysql2_ext'
require 'mysql2'
require 'do_mysql'
number_of = 100

View File

@ -1,10 +1,10 @@
# encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
require 'rubygems'
require 'benchmark'
require 'mysql'
require 'mysql2_ext'
require 'mysql2'
require 'do_mysql'
number_of = 100

View File

@ -1,5 +1,4 @@
# encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..')
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
require 'rubygems'

View File

@ -1,5 +1,4 @@
# 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