From 5deb1582223a9de7483a7adc3a9643e218e47f71 Mon Sep 17 00:00:00 2001 From: Gordon Wilson Date: Sat, 24 Mar 2012 02:00:30 -0700 Subject: [PATCH] follow riak symlink to find source dir --- lib/riak/node/configuration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/riak/node/configuration.rb b/lib/riak/node/configuration.rb index 6ea2e23e..7be230e8 100644 --- a/lib/riak/node/configuration.rb +++ b/lib/riak/node/configuration.rb @@ -208,7 +208,7 @@ def configure_settings # Sets the source directory and root directory of the generated node. def configure_paths - @source = Pathname.new(configuration[:source]).expand_path + @source = Pathname.new(configuration[:source] + '/riak').realpath.parent @root = Pathname.new(configuration[:root]).expand_path end