[Neurodebian-devel] ruby
psytoolkit
psytoolkit at zoho.com
Thu Apr 12 22:10:58 UTC 2012
Hi,
I am working on a PsyToolkit Debian package. PsyToolkit uses ruby. In the next version, it works only with ruby 1.9, which nowadays is the ruby default anyway.
The problem: Ubuntu 11.10 uses ruby 1.8. I know that the next Ubuntu will have 1.9, but I still would like to make sure that PsyToolkit runs on all (older) debian based Linux versions.
The issue is that not only /usr/bin/ruby should refer to a version equal or greater than 1.9, but also ruby-gnome2.
Questions:
1) How can I put in the package dependencies (in the "control" file) that ruby1.9 and the related ruby-gnome will be installed?
2) How can I ensure that a call to /usr/bin/ruby actually calls /usr/bin/ruby1.9.
I am not sure how to deal with this, especially systems that have both 1.8 and 1.9 installed. To make things harder, some Debians have 1.9.1 some 1.9.2, for me any 1.9.* is good.
Thank you so much for your help.
PsyToolkit team.
More information about the Neurodebian-devel
mailing list