lib/aruba/api/core.rb in aruba-0.14.8 vs lib/aruba/api/core.rb in aruba-0.14.9

- old
+ new

@@ -59,10 +59,10 @@ old_dir = Aruba.platform.getwd Aruba.platform.chdir File.join(aruba.root_directory, aruba.current_directory) - result = Aruba.platform.with_environment( + result = with_environment( 'OLDPWD' => old_dir, 'PWD' => File.expand_path(File.join(aruba.root_directory, aruba.current_directory)), &block ) ensure