remove chdir

This commit is contained in:
onyx-and-iris 2023-08-11 00:50:10 +01:00
parent e989e72e51
commit 3755e39b44

View File

@ -45,8 +45,7 @@ namespace :e do
desc "Runs the obs example" desc "Runs the obs example"
task :obs do task :obs do
targetdir = File.join(HERE, "examples", "obs") filepath = File.join(HERE, "examples", "obs", "main.rb")
Dir.chdir(targetdir) ruby filepath
ruby File.join(targetdir, "main.rb")
end end
end end