Hi I have installed ruby 2.1.0 in my droplet, but when I am trying to install passenger-install-apache2-module, I am getting following exception. I have already swapped my memory twice, but I am getting same exception again and again. Please help me out
Your compiler failed with the exit status 4. This probably means that it ran out of memory. To solve this problem, try increasing your swap space: https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04
Tasks: TOP => apache2 => buildout/agents/PassengerHelperAgent (See full trace by running task with --trace)
It looks like something went wrong
Please read our Users guide for troubleshooting tips:
/usr/local/lib/ruby/gems/2.1.0/gems/passenger-4.0.41/doc/Users guide Apache.html http://www.modrails.com/documentation/Users guide Apache.html
If that doesn’t help, please use our support facilities. We’ll do our best to help you.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Sometimes swap isn’t enough. You can add more swap but it’ll dramatically slow down your droplet. <br> <br>Try resizing temporarily to 1GB and resizing back to 512MB after compiling passenger. <br> <br>You can also try stopping programs that might be taking up a lot of memory such as Apache or MySQL.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.