Bonjour à tous,
Je voudrais installer la dernière version de RUBY (1.9.3) pour tester le CMS Redmine 1.4 qui tourne sous Ruby justement.
Le problème est que sur ipkg le package actuel de ruby est en 1.9.1 qui n'est pas supporté officèlement par Redmine!
J'ai essayé de multiples commandes pour installer RVM qui permet une gestion aisée des packages RUBY mais ça ne marche pas à cause d'erreurs diverses et variées T_T
Exemple (bash,tar,diffutils installés avec ipkg):
bash-3.2# bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Downloading RVM from wayneeseguin branch stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 125 100 125 0 0 204 0 --:--:-- --:--:-- --:--:-- 282
100 994k 100 994k 0 0 81288 0 0:00:12 0:00:12 --:--:-- 98715
Upgrading the RVM installation in /usr/local/rvm/
BusyBox v1.16.1 (2011-11-26 14:58:46 CST) multi-call binary.
Usage: tar -[cxtzjaZvO] [-X FILE] [-f TARFILE] [-C DIR] [FILE]...
Create, extract, or list files from a tar file
Options:
c Create
x Extract
t List
Archive format selection:
z Filter the archive through gzip
j Filter the archive through bzip2
a Filter the archive through xz
Z Filter the archive through compress
File selection:
f Name of TARFILE or "-" for stdin
O Extract to stdout
X File with names to exclude
C Change to DIR before operation
v Verbose
chown: unknown group
chown: unknown group
Creating RVM system user group 'rvm'
/usr/local/rvm/src/rvm/scripts/functions/installer: line 748: groupadd: command not found
chown: unknown user/group root:rvm
chown: unknown user/group root:rvm
Upgrade Notes:
diff: unrecognized option `--normal'
BusyBox v1.16.1 (2011-11-26 14:58:46 CST) multi-call binary.
Usage: diff [-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2
Compare files line by line and output the differences between them.
This implementation supports unified diffs only.
Options:
-a Treat all files as text
-b Ignore changes in the amount of whitespace
-B Ignore changes whose lines are all blank
-d Try hard to find a smaller set of changes
-i Ignore case differences
-L Use LABEL instead of the filename in the unified header
-N Treat absent files as empty
-q Output only whether files differ
-r Recurse
-S Start with FILE when comparing directories
-T Make tabs line up by prefixing a tab when necessary
-s Report when two files are the same
-t Expand tabs to spaces in output
-U Output LINES lines of context
-w Ignore all whitespace
# RVM: Shell scripts enabling management of multiple ruby environments.
# RTFM: https://rvm.io/
# HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
# Cheatsheet: http://cheat.errtheblog.com/s/rvm/
# Screencast: http://screencasts.org/episodes/how-to-use-rvm
# In case of any issues read output of 'rvm requirements' and/or 'rvm notes'
Upgrade of RVM in /usr/local/rvm/ is complete.
# root,
#
# Thank you for using RVM!
# I sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne
rvm 1.12.5 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
bash-3.2# rvm notes
bash: rvm: command not found
Plusieurs erreurs remontées me font penser que le bash utilisé n'est pas compatible avec cette commande...
J'espère que quelqu'un a déjà réussi à installer RVM sur un syno ou au moins qu'on me dise ce qu'il se passe!
Pour info, je vais sûrement passer sur le DSM4.0 prochainement mais je ne pense pas que celà resoudra mes problèmes.
Merci de votre aide ou de votre compassion ^^