[Error] can't load such file "../lib/mq_client"
[How] use require_relative
Signed-off-by: Wu Zhende wuzhende666@163.com --- providers/multi-qemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/providers/multi-qemu b/providers/multi-qemu index d3f8406..01ba3d5 100755 --- a/providers/multi-qemu +++ b/providers/multi-qemu @@ -7,7 +7,7 @@ require 'fileutils' require 'optparse' require 'json'
-require '../lib/mq_client' +require_relative "../lib/mq_client"
opt = {} options = OptionParser.new do |opts|