From 37cad5dc0ca10e1fc5e5ce78fbabbdcb66432b19 Mon Sep 17 00:00:00 2001 From: Alexander Kryklia Date: Wed, 12 Jun 2013 14:49:01 +0300 Subject: [PATCH] fixes launcy not working with Dir.chdir --- rakefiles/docs.rake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rakefiles/docs.rake b/rakefiles/docs.rake index f10fc80d59..2247b686fa 100644 --- a/rakefiles/docs.rake +++ b/rakefiles/docs.rake @@ -22,9 +22,7 @@ task :showdocs, [:options] do |t, args| path = "docs" end - Dir.chdir("#{path}/build/html") do - Launchy.open('index.html') - end + Launchy.open("#{path}/build/html/index.html") end desc "Build docs and show them in browser"