I kept having asset compilation errors on elasticbeanstalk.
Osazeme Usen
1

I have had errors using bundler where it was running out of memory. There were two different ways I have solved the issue, the first is to use the swapfile script in this tutorial. The script will allow your disk on the EC2 to act as backup memory for short bursts if all available memory is consumed. The second route, which is less free but more reliable may be to just upgrade to the next size EC2, which is I think medium and rounds about $20/mo.

Show your support

Clapping shows how much you appreciated Rob Race’s story.