ror
ror

Reputation: 11

File comparison using ruby

I need to compare 2 different files and show the difference between those two files.

I looked it up online and got this answer from https://github.com/samg/diffy but i am getting this error message

NameError: uninitialized constant Diffy

from (irb):11

from /usr/bin/irb:12:in `<main>'

Has someone already encountered this problem before? THX

Upvotes: 0

Views: 256

Answers (1)

Veerababu Alamuri
Veerababu Alamuri

Reputation: 71

Yes, I had this issue when I was testing this in my terminal. require 'diffy' in terminal has solved my problem.

Upvotes: 1

Related Questions