Redmine patches
Added by Ian S. over 15 years ago
Hello, I'm new to Redmine. I looked around extensively for this, but couldn't find anything on it. And maybe it's a stupid question, but I to know how to install a patch that I've downloaded. I'm sure it's simple, but I'm just not sure what to do. Is this even a Redmine issue, or is it a Rails issue...?
Anyway, here's my info (although seemingly irrelevant). Thanks for any help you can provide.
$ RAILS_ENV=development script/about Password: GLoc v1.1 running in development mode. Strings can be modified at runtime. About your application's environment Ruby version 1.8.5 (x86_64-linux) RubyGems version 1.3.1 Rails version 2.1.2 Active Record version 2.1.2 Action Pack version 2.1.2 Active Resource version 2.1.2 Action Mailer version 2.1.2 Active Support version 2.1.2 Application root /opt/rails/redmine Environment development Database adapter mysql $
Replies (2)
RE: Redmine patches
-
Added by Jean-Baptiste Barth over 15 years ago
The simplest is to go to the root directory of your redmine install, and type : "patch -p0 < the_patch.patch"
Many development project work like this ; you can make patches with "diff file1 file2", or "svn diff" if your project is versionned with subversion (there are equivalents in git etc), and you can patch your installation with "patch" command. It's not specific to Redmine, not even to Rails.
RE: Redmine patches
-
Added by Nanda P about 15 years ago
Hey JB,
How can I apply patches in Windows?
Thanks in advance,
Nanda