From 6b2e5e4c77161fb6586e4f8a436d620be2ce7c30 Mon Sep 17 00:00:00 2001 From: Alexandre Morignot <erdnaxeli@gmail.com> Date: Tue, 1 Jan 2013 23:35:02 +0100 Subject: [PATCH] On utilise require_relative --- run.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run.rb b/run.rb index 165659f..5f25d85 100755 --- a/run.rb +++ b/run.rb @@ -3,8 +3,7 @@ require 'logger' require 'optparse' -$LOAD_PATH << './lib' -require 'playbot' +require_relative 'lib/playbot' # This code start the PlayBot with somes options. -- GitLab