J
John Griffiths
Well so far things are going kind of good, I've built my own server and
it's sitting in colo running Debian Etch and Ruby 1.8.6 (built from
source)
Now me being me I wouldn't mind running 1.8.7 alongside 1.8.6 for my
Rails blogging software.
Has anyone had any experiences in running multiple versions of Ruby on
Debian Etch?
I found one article which explains how to run 3 using
update-alternatives but pretty unsure if it'll adapt well to Debian,
http://blog.michaelgreenly.com/2008/08/multiple-versions-of-ruby-on-ubuntu-2.html
Seems possible, especially using:
./configure --prefix=/opt/ruby-1.8.7-p71
To set where to install the Ruby version, I'm imagining I'd have to run
gem --update like,
/opt/ruby-1.8.7-p71/bin/gem --update
or
/opt/ruby-1.8.7-p71/bin/gem install rails
to install the necessary gems per ruby install without touching the one
in /usr/bin/ruby,
then i'm imagining,
/opt/ruby-1.8.7-p71/bin/thin start -C /var/www/apps/myapp/thin.conf
...to start the thin webserver with my config file
Will try out on a virtual machine first, but am i on the right track or
is there something better?
it's sitting in colo running Debian Etch and Ruby 1.8.6 (built from
source)
Now me being me I wouldn't mind running 1.8.7 alongside 1.8.6 for my
Rails blogging software.
Has anyone had any experiences in running multiple versions of Ruby on
Debian Etch?
I found one article which explains how to run 3 using
update-alternatives but pretty unsure if it'll adapt well to Debian,
http://blog.michaelgreenly.com/2008/08/multiple-versions-of-ruby-on-ubuntu-2.html
Seems possible, especially using:
./configure --prefix=/opt/ruby-1.8.7-p71
To set where to install the Ruby version, I'm imagining I'd have to run
gem --update like,
/opt/ruby-1.8.7-p71/bin/gem --update
or
/opt/ruby-1.8.7-p71/bin/gem install rails
to install the necessary gems per ruby install without touching the one
in /usr/bin/ruby,
then i'm imagining,
/opt/ruby-1.8.7-p71/bin/thin start -C /var/www/apps/myapp/thin.conf
...to start the thin webserver with my config file
Will try out on a virtual machine first, but am i on the right track or
is there something better?