diff options
Diffstat (limited to 'benchmark')
-rwxr-xr-x | benchmark/driver.rb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/benchmark/driver.rb b/benchmark/driver.rb index 0215d7676d..c166c80edb 100755 --- a/benchmark/driver.rb +++ b/benchmark/driver.rb @@ -3,18 +3,11 @@ # Ruby Benchmark driver # -first = true - begin require 'optparse' rescue LoadError - if first - first = false - $:.unshift File.join(File.dirname(__FILE__), '../lib') - retry - else - raise - end + $:.unshift File.join(File.dirname(__FILE__), '../lib') + require 'optparse' end require 'benchmark' |