RubyInstaller depends on successfully generate CHM help files for the
installers. The gem to extract RDoc and generate the CHM is named
rdoc_chm:
https://github.com/vertiginous/rdoc_chm
It depends on RDoc 2.5.11, since newer RDoc changed the plugin architecture.
That particular version of RDoc don't handle properly Ruby 1.9.3
encodings, so it fails trying to parse and build CHM for Ruby.
To simply test this issue, just remove the gem constrain from RubyInstaller:
https://github.com/oneclick/rubyinstaller/blob/master/recipes/tools/docs.rake#L7-9
Install latest rdoc and rdoc_chm gems and try building latest Ruby
1.8.7 or 1.9.3
Of course, you need Ruby 1.9.3 itself.
Any volunteers? I can ask Gordon to grant permission to repository and
gem so they can push the updated version.
Thank you.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
Hello,RubyInstaller depends on successfully generate CHM help files for the
installers. The gem to extract RDoc and generate the CHM is named
rdoc_chm:https://github.com/vertiginous/rdoc_chm
It depends on RDoc 2.5.11, since newer RDoc changed the plugin architecture.
That particular version of RDoc don't handle properly Ruby 1.9.3
encodings, so it fails trying to parse and build CHM for Ruby.
To simply test this issue, just remove the gem constrain from RubyInstaller:
https://github.com/oneclick/rubyinstaller/blob/master/recipes/tools/docs.rake#L7-9
Install latest rdoc and rdoc_chm gems and try building latest Ruby
1.8.7 or 1.9.3Of course, you need Ruby 1.9.3 itself.
Any volunteers? I can ask Gordon to grant permission to repository and
gem so they can push the updated version.Thank you.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
On Thu, Mar 8, 2012 at 5:08 PM, Justin Baker <azol...@gmail.com> wrote:
>
> Yeah, I'm looking at it, but I didn't actually think it would be as simple
> as it was when I
> first looked at it. But I've got most of it complete and it's looking good
> so far.
>
Nice!
> I've got the template working with the new RDoc versions but I think that
> there are some quirks
> that I've got to look at. But the problem is the fact that the ruby1.9.3
> stdlib has 'UTF-8' Japanese
> characters and the default encoder for windows is IBM437 doesn't understand.
My console is 1252 (Windows-1252) which you can change using "chcp"
from the console.
> So I had to change
> the Rdoc builder in the docs.rake to use 'UTF-8' as the encoder. You might
> be able to do this
> with the current setup to get it working again, but I didn't try.
If latest RDoc is having problems to detect that, please open a issue
on RDoc for them to fix the encoding issue:
> Overall I have the chm files are building and they "look" ok, but I'm going
> to go over them to make
> sure and then clean up the code and figure out if everything I changed was
> actually necessary.
>
Nice, just let us know when you're done the fork link ;-)
> Also, I rewrote a lot of the docs.rake task to make it more malleable while
> I was playing around.
Patches are welcome, I love patches, show us! :-D
> I also ended up adding an option to build the docs using the regular
> Darkfish generator while
> I was debugging. I don't know if that's something you guys would be
> interested in but I could
> clean it up and load it in to a github fork later if you guys want to look
> at it. But it works just
> fine with just a minor tweak to the current docs.rake.
>
Last time I played with darkfish it didn't play nice for embedded C
source code, I believe that was the reason we had a custom theme.
I wouldn't mind a lighter theme like the one used by YARD, but can I
dream, right? :)
Thank you for your time and looking forward your changes!
Hello Justin,On Thu, Mar 8, 2012 at 5:08 PM, Justin Baker <azol...@gmail.com> wrote:
>
> Yeah, I'm looking at it, but I didn't actually think it would be as simple
> as it was when I
> first looked at it. But I've got most of it complete and it's looking good
> so far.
>Nice!
My console is 1252 (Windows-1252) which you can change using "chcp"
from the console.
If latest RDoc is having problems to detect that, please open a issue
on RDoc for them to fix the encoding issue:
Last time I played with darkfish it didn't play nice for embedded C
source code, I believe that was the reason we had a custom theme.I wouldn't mind a lighter theme like the one used by YARD, but can I
dream, right? :)
Thank you for your time and looking forward your changes!
Nope problem! Glad I can help and I'll let you know how it's going.
On Saturday, March 10, 2012 12:45:57 AM UTC-6, Justin Baker wrote:Nope problem! Glad I can help and I'll let you know how it's going.Alright, I've got rdoc_chm done and uploaded.
No need to sorry Justin, just keep us posted on your progress and let
us know when we can start poking around :D
Once again thank you.
No need to sorry Justin, just keep us posted on your progress and let
us know when we can start poking around :DOnce again thank you.
No need to sorry Justin, just keep us posted on your progress and let
us know when we can start poking around :DOnce again thank you.
Hello Justin
Sorry for not getting back to you before but work has been taking all
my free time over the past weeks (not to mention health hasn't been
top).
Anyway, don't want you to feel that your work is not valuable, but I
think will be great if you can write up a new thread describing what
where your objectives, what have you done to achieve them, which
branch should I check for it and I'll go over it in one pass instead
of scanning over this thread and your individual commits without
following the conversation properly.
It will also serve me to ask Gordon for commit and push permissions
for rdoc_chm gem, which is what we are aiming to.
I want to integrate those changes since I believe being stuck at one
particular version is bad for us.
Thank you for your work and hope you understand my reasons for this request.
Regards,
Hello Justin
Sorry for not getting back to you before but work has been taking all
my free time over the past weeks (not to mention health hasn't been
top).
Anyway, don't want you to feel that your work is not valuable, but I
think will be great if you can write up a new thread describing what
where your objectives, what have you done to achieve them, which
branch should I check for it and I'll go over it in one pass instead
of scanning over this thread and your individual commits without
following the conversation properly.It will also serve me to ask Gordon for commit and push permissions
for rdoc_chm gem, which is what we are aiming to.I want to integrate those changes since I believe being stuck at one
particular version is bad for us.Thank you for your work and hope you understand my reasons for this request.