Commit 37cad5dc by Alexander Kryklia

fixes launcy not working with Dir.chdir

parent e7f1baad
...@@ -22,9 +22,7 @@ task :showdocs, [:options] do |t, args| ...@@ -22,9 +22,7 @@ task :showdocs, [:options] do |t, args|
path = "docs" path = "docs"
end end
Dir.chdir("#{path}/build/html") do Launchy.open("#{path}/build/html/index.html")
Launchy.open('index.html')
end
end end
desc "Build docs and show them in browser" desc "Build docs and show them in browser"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment