support rails, django , ruby help

Hi, I have a question for a long time no use EHCP but I miss the space of two things as I write web applications in Rails and Django would like to add the possibility of their use can I say dear users in how to do it and that is the ability to enable support rails, ruby, django
my server is a system of ubuntu + apache