Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Speed up building ruby.. #2

merged 1 commit into from

3 participants


.. by 30..40%.

Not sure if this options work across ruby implementations other than MRI & YARV, still I doubt anyone would run chef this way.


+1 - the ruby-build is terribly slow, it even looks like it's hanging sometimes: I'm not sure that the optimisation will fix that, but if anyone has an idea why it should take more than half an hour to build ruby I'd be grateful...


@mugwump ruby-build is slow just cause compiling ruby takes time. As of my experience, more than half an hour is the time to compile ruby only on very slow machine, like AWS micro instance (I actually use such instances for few projects). And generating rdocs take about 40% of total build time, so speed-up is real :)


it's not only speedup I' afraid: Even installing rake with rdoc chokes on the microinstances. Maybe it's not a problem on bigger machines, but a switch would definitely be very useful.

@iain iain merged commit fe5eb08 into iain:master

sorry, completely missed this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 30, 2012
  1. @Flamefork

    Speedup building ruby

    Flamefork authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/roundsman/capistrano.rb
2  lib/roundsman/capistrano.rb
@@ -104,7 +104,7 @@ def ensure_roundsman_working_dir
git clone -q
cd ruby-build
- ruby-build #{fetch(:ruby_version)} #{fetch(:ruby_install_dir)}
+ CONFIGURE_OPTS='--disable-install-rdoc' ruby-build #{fetch(:ruby_version)} #{fetch(:ruby_install_dir)}
Something went wrong with that request. Please try again.