diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-06-03 14:04:58 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-06-03 14:04:58 +0100 |
commit | b357d29826a67ad527c63d823290226ae2d0c871 (patch) | |
tree | 7b7f3fb020b9066300fa61da9797591cf8372f01 /script/runner | |
parent | a4b739fde6a9da0a72c6171dad020579604b6757 (diff) |
Make the scripts bundler-aware
Diffstat (limited to 'script/runner')
-rwxr-xr-x | script/runner | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/runner b/script/runner index 6b0bc0a08..2bd5e9aa7 100755 --- a/script/runner +++ b/script/runner @@ -3,7 +3,7 @@ daemon_mode = !ARGV.empty? && ARGV[0] == "--daemon" script_dir = File.dirname(__FILE__) -alaveteli_dir = File.join(script_dir, "..") +alaveteli_dir = File.expand_path(File.join(script_dir, "..")) Dir.chdir(alaveteli_dir) do require File.join(alaveteli_dir, 'config', 'boot') |