I'm using some framework (blacklight) that I need to change and extend to my own needs. Namely, I need to reimplement some functions, views and controllers. What I currently do is copying the file to a matching path in my working directory and make the changes inside the copied file. That way, my copied file overrides the original file in the gem. When a new version of the gem is released I might have to change my copied file accordingly. I don't like the way I solve the problem of modifying gems. Is there a better way to do it?) that I ne