Alan Slater wrote: > Hari Rajagopal wrote: >> Can someone explain how do I install patches.
> I can’t believe that a straightforward, reasonable question like this > went unanswered for 2 and a half years. Especially given how little info > there is about applying or installing patches out there. Could you please provide a little information on how one submits patches for rails? I've gotten as far as git clone, but then everything goes to hell. (I can be more specific if anyone feels like throwing me a bone.) I've been trying to follow along with this screencast: http://railscasts.com/episodes/113-contributing-to-rails-with-git > This will usually look like this:- > > $ patch -p0 -i name_of_patch_here > > I say ‘usually’ because, to be honest, I don’t know what -p0 or -i do, > but it works for me. -p is for stripping leading parts of the path, e.g. -p1 is used to turn absolute paths into relative paths. -p0 should be a no-op. -i means you're going to pass the patch file as an argument, rather than letting the patch program read stdin. The above should be equivalent to: $ patch < name_of_patch_here --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

