Friday, December 16, 2011

-Ku to compile Rubygem on Windows / Ruby 1.9.3

Using Taskjuggler and I love it. On Linux I can download the latest code from the Git repo and compile to a gem exactly as directed in the docs.

However, on my Windows 7 machine, no joy.rake gem produced the error
ERROR: Ups, you have triggered a bug in TaskJuggler!
incompatible character encodings: UTF-8 and IBM437


I finally got this to work by editing C:\Ruby193\bin\rake, changing the first line from
#!C:/Ruby193/bin/ruby.exe
to
#!C:/Ruby193/bin/ruby.exe -Ku

No comments:

Post a Comment

Followers

About Me

I live with my beautiful and strong wife Susan and two of our close friends. I'm a full-time minister of Jehovah's Witnesses; I volunteer in moisture/mold remediation at our Kingdom Halls in the region. I am employed as a nurse and administer databases for a small company (Community Systems Inc.). I also enjoy Web design. I guess I'm a geek.