<div dir="ltr">you could try something like<div><br></div>$ RUBY_GC_HEAP_INIT_SLOTS=600000 RUBY_GC_HEAP_FREE_SLOTS=600000 RUBY_GC_HEAP_GROWTH_FACTOR=1.25 RUBY_GC_HEAP_GROWTH_MAX_SLOTS=300000 time ../bin/middleman build --no-clean -g index.html<div><br></div><div>and/or you could try adding the gem 'erubis' early to your Gemfile and adding it your config.rb.</div><div><br></div><div>Jason.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 29, 2015 at 12:53 PM, gvim <span dir="ltr"><<a href="mailto:gvimrc@gmail.com" target="_blank">gvimrc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 28/07/2015 17:31, Murray Steele wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What middleman and ruby versions are you using? The lrug website runs<br>
on middleman nowadays and if I do the a similar command with that app:<br>
<br>
</blockquote></span>
All up-to-date:<br>
<br>
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]<br>
middleman (3.3.12)<br>
<br>
$ time ../bin/middleman build --no-clean -g index.html<br>
identical build/index.html<br>
<br>
real 0m2.249s<br>
user 0m1.947s<br>
sys 0m0.271s<br>
<br>
The system is a 5-year-old quad-core i7 Mac with 16GB RAM running Yosemite.<div class="HOEnZb"><div class="h5"><br>
<br>
gvim<br>
<br><br>
</div></div></blockquote></div><br></div></div>