What do you think about having a separate environment with it's own parsers (Python, Ruby) and different versions of them within a Linux distro. I'm sick of having to stick with distro's versions of these dependencies (eg.: Red Hat's old versions of PHP, Python, Ruby)

If you do that, how do you do? Do you use some tool like RVM for Ruby? Do you deploy using some package format (RPM, DEB, etc?). What issues do you encounter?

I may see some issues, but I never tested this approach myself to check those.

  • chroot could be used for this, but it requires duplicating all the dependencies and keeping them updated (though most package managers can install to specific directory, not necessarily "/") Oct 5 '10 at 18:19

Just install the custom ones into /OPT/ . Webhosts had different versions of php before and they have different versions of python. You could just call the different one using the shell script declaration like #!/opt/pytho3/python

Not the answer you're looking for? Browse other questions tagged or ask your own question.