I need two different versions of ruby on a server. The packaged ruby for the packaged puppet to work, and a compiled ruby for a rails web app to work. So basically I want the default ruby to be the ruby from the package, and for rails to use the compiled ruby (in `/usr/local/bin/` and `/usr/local/lib/` )

I've found references to setting the RUBYPATH and RUBYLIB environment variables, but I'm confused as to where to set them. In `.bashrc`, `.profile`, in the apache config somewhere?