You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run this command:
puts Diffy::Diff.new('/tmp/foo', '/tmp/bar', :source => 'files') (i put foo and bar folders into tmp). But it gets this error messages.
Error messages:
The text was updated successfully, but these errors were encountered:
From the looks of the error message it seems like ldiff isn't able to find the files based on the paths you're providing. It's possible this is related to the fact that you're running on Windows (in general it's harder to get Ruby stuff to work on Windows). You may need to specify the file paths in a Windows specific way, for example 'C:/tmp/foo' or 'C:\tmp\foo'. I don't have a windows setup to test on, but most likely you'll want to specify the file paths the same way as if you were passing them as arguments to ldiff on the command line.
Also you stated that you put foo and bar folders in tmp. You'll want to make sure that the paths you're passing diffy refer to files and not directories. Diffy doesn't have the ability to diff directories built in.
I tried to run this command:
puts Diffy::Diff.new('/tmp/foo', '/tmp/bar', :source => 'files') (i put foo and bar folders into tmp). But it gets this error messages.
Error messages:
The text was updated successfully, but these errors were encountered: