-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analyze bundling ri documentation again with RubyInstaller #185
Comments
ri docs consume around 60MB and increased installation time. It generates thousands of files and that makes the installer a bit slower, not to mention the building process. Until RDoc and |
Reading the DBM documentation, this will take more work on the RDoc side than I anticipated, but not much:
This may not be an issue for the one-click installer, but in general, the rdoc-data gem will need to build the DBM file per machine from a standard tarball to ensure compatibility. |
@drbrain thank you for the feedback (and for looking at this issue!) All the above cautions are just a big ouch to the idea of implementing this with Ruby's built-in Perhaps can we make RDoc's |
I think this idea will work:
This has the following benefits:
But the following drawbacks:
|
Is quite common that Ruby books and tutorials around the web suggest the usage of
ri <something>
to lookup for the documentation of a method, class, etc.With RubyInstaller, we removed RI documentation because not only was an lengthly process to build, increased the installer size by half and also slowed down installation process due the massive number of files to be installed.
Let's investigate if these statements remain true with latest version (Ruby 2.0) and see the impact on the installation process.
As alternative, perhaps rdoc-data can be used to generate these files and then exported as another package.
The text was updated successfully, but these errors were encountered: