↓ Ir para o conteúdo principal

← todas as notas

📎 Webclip

newb rails provisioning tip for VirtualBox and assets:precompile

Dave Thomas shares a brief tip for newcomers provisioning Rails apps under VirtualBox: strange failures during assets:precompile may be related to memory limits in the VM. He suggests checking /var/log/kern.log and adjusting the RAM configuration.

Reading notes
#

  • The advice is targeted at Rails beginners working on provisioning setups.
  • The context is testing a Rails environment using VirtualBox.
  • If the assets:precompile task fails in an unusual way, the suggested diagnostic step is to inspect /var/log/kern.log.
  • Based on that log, a likely fix is to configure the VirtualBox VM with more RAM so the precompile step can complete.