fixes launcy not working with Dir.chdir

This commit is contained in:
Alexander Kryklia
2013-06-12 14:49:01 +03:00
parent e7f1baad62
commit 37cad5dc0c

View File

@@ -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"