Project

General

Profile

How to install patch on Windows.

Added by Samuel Sales over 9 years ago

Hello! I have not found a topic that could help me find a solution to my problem. I would like to install a .patch file in windows and I tried the following command:

C:\Program Files (x86)\GnuWin32\bin>patch -p1 -i C:\Bitnami\redmine-2.5.2-3\apps
\redmine\htdocs\lib\redmine\export\pdf.rb.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: lib/redmine/export/pdf.rb
|===================================================================
|--- lib/redmine/export/pdf.rb  (revision 12012)
--------------------------
File to patch: pdf.rb
pdf.rb: No such file or directory
Skip this patch? [y] n

Does anyone know where I am going wrong report?

- Version: Bitnami Redmine Stack 2.5.2-3
- Operating system: Windows 7
- Database: mySql

Thanks!


    (1-1/1)