Is there a similar method to use a different Ruby version with Rails?


On Tue, 2007-01-02 at 08:17 +0900, Vincent Fourmond wrote:
> S. Robert James wrote:
> > Where are those paths located?  strings ruby didn't turn them up.  I
> > need to be able to tell it to use the app's private ruby installation.
> > 
> > In general, has anyone done anything like this?  What was their
> > experience?  How would you recommend going about doing this?
> 
>   You can install Ruby anywhere by getting the source code and running
> something like:
> 
> ./configure --prefix=/your/favorite/directory
> make
> make install
> 
>   Then, you should make sure that the right version is used when running
> your project. Make sure that:
> 
>   * this install of ruby is in the $PATH
>   * your scripts include the full path to your ruby executable in the
> #!... line
> 
>   Is that what you were looking for ?
> 
> 	Vince
>