From 79ea9e6e016fd29406cefe9c206e723ad7957751 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Fri, 17 Jun 2011 14:33:23 +0200 Subject: [PATCH] Fix Migrator path --- src/onedb/onedb.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/onedb/onedb.rb b/src/onedb/onedb.rb index 6aa6b5f881..ec2d711925 100644 --- a/src/onedb/onedb.rb +++ b/src/onedb/onedb.rb @@ -104,7 +104,7 @@ class OneDB migrator_version = version + 1 result = nil - file = "#{LIB_LOCATION}/onedb/#{migrator_version}.rb" + file = "#{RUBY_LIB_LOCATION}/onedb/#{migrator_version}.rb" if File.exists?(file) && (max_version == nil || migrator_version <= max_version) @@ -137,7 +137,7 @@ class OneDB puts "" if ops[:verbose] migrator_version += 1 - file = "#{LIB_LOCATION}/onedb/#{migrator_version}.rb" + file = "#{RUBY_LIB_LOCATION}/onedb/#{migrator_version}.rb" end # Modify db_versioning table