Hi,
i have a patch to make instiki work with the latest version of ruby :
as_clean_logger_rb-fixed.patch
But i dont know how to apply it. Any ideas??
Thanks,
Chris
Hi,
i have a patch to make instiki work with the latest version of ruby :
as_clean_logger_rb-fixed.patch
But i dont know how to apply it. Any ideas??
Thanks,
Chris
patch is not recognized from the command line in windows
On 10/03/06, Chris [email protected] wrote:
Hi,
i have a patch to make instiki work with the latest version of ruby :as_clean_logger_rb-fixed.patch
But i dont know how to apply it. Any ideas??
Normally you cd to the right directory
(usually wherever the gem is installed - look at the patchfile, they
normally
contain relative pathnames which should help ) and run
patch < nameofpatchfile
–
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/
On 3/11/06, Chris [email protected] wrote:
patch is not recognized from the command line in windows
You can get a windows version of patch here:
http://unxutils.sourceforge.net/
–
Posted via http://www.ruby-forum.com/.
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
–
Bill G. (aka aGorilla)
The best answer to most questions is “it depends”.
I have to be the dumbest developer ever.
I have downloaded the “patch” utility and am able to use it via the
command line utility. I downloaded the patch that I want
(datetime_select_ignores_discard_year_fix.diff). However when run the
following line:
patch < datetime_select_ignores_discard_year_fix.diff
I receive the error:
patching file ‘date_helper.rb’
Assertion failed: hunk, file patch.c, line 321
This application has requested the Runtime to terminate it in an unusual
way.
I run this command in the following directory:
C:\dev\ruby\lib\ruby\gems\1.8\gems\actionpack-1.12.0\lib\action_view\helpers
Horrible…can’t even apply a patch…now THAT’S sad.
Thanks people!
brilliant…absolutely brilliant.
Patrick The Hermit wrote:
I have to be the dumbest developer ever.
haha! and the baldest… ;)!
patch -R < datetime_select_ignores_discard_year_fix.diff
I ran it using cygwin [on 1.1] and had the same problem… looks like a
version issue. i.e. you aint the dumbest [but I got a few canidates tho]
Just hack the damn file and makes the changes yourself - look at the
file, the - means take that line out, the + means put that line in…
hopefully it’ll be fixed in the next release…
$
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs