lib/cli/database_console_init.rb in request-log-analyzer-1.8.0 vs lib/cli/database_console_init.rb in request-log-analyzer-1.8.1
- old
+ new
@@ -1,6 +1,6 @@
# Setup the include path
-$:.unshift(File.dirname(__FILE__) + '/..')
+$:.unshift(File.expand_path('..', File.dirname(__FILE__))
$database = RequestLogAnalyzer::Database.new(ENV['RLA_DBCONSOLE_DATABASE'])
$database.load_database_schema!
$database.register_default_orm_classes!