tech:notes_ruby_capistrano
Différences
Ci-dessous, les différences entre deux révisions de la page.
| tech:notes_ruby_capistrano [2026/06/07 19:12] – créée - modification externe 127.0.0.1 | tech:notes_ruby_capistrano [2026/07/16 11:58] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| < | < | ||
| - | {{tag> | + | {{tag> |
| # Notes ruby capistrano | # Notes ruby capistrano | ||
| Ligne 7: | Ligne 7: | ||
| ### Création du paquage Capistrano (utilisable en userland) ### | ### Création du paquage Capistrano (utilisable en userland) ### | ||
| + | |||
| Voir https:// | Voir https:// | ||
| - | [INSTALL DE RVM Ruby Version Manager] | + | INSTALL DE RVM Ruby Version Manager |
| -> Voir https:// | -> Voir https:// | ||
| - | -Prerequis | + | Prerequis |
| + | ~~~bash | ||
| yum install libxslt-devel curl git patch gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel | yum install libxslt-devel curl git patch gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel | ||
| yum install ruby-libs # (a verifier !) | yum install ruby-libs # (a verifier !) | ||
| + | ~~~ | ||
| -Install | -Install | ||
| + | ~~~bash | ||
| curl -L https:// | curl -L https:// | ||
| + | ~~~ | ||
| - | + | INSTALL DE CAPISTRANO | |
| - | [INSTALL DE CAPISTRANO] | + | ~~~bash |
| ~/ | ~/ | ||
| + | ~~~ | ||
| - | [CREATION DU SCRIPT DE LANCEMENT] | + | SCRIPT DE LANCEMENT |
| - | vi ~/bin/cap | + | `~/bin/cap` |
| - | --- | + | ~~~bash |
| #! /bin/bash | #! /bin/bash | ||
| Ligne 34: | Ligne 41: | ||
| $RUBY $CAP $* | $RUBY $CAP $* | ||
| - | --- | + | ~~~ |
| + | |||
| + | ~~~bash | ||
| chmod +x ~/bin/cap | chmod +x ~/bin/cap | ||
| + | ~~~ | ||
| - | [TEST DE CAPISTRANO] | + | TEST DE CAPISTRANO |
| + | ~~~bash | ||
| ~/bin/cap shell | ~/bin/cap shell | ||
| + | ~~~ | ||
| + | CONSCRUCTION DU PAQUET | ||
| - | [CONSCRUCTION DU PAQUET] | + | ~~~bash |
| find / | find / | ||
| + | ~~~ | ||
| - | NB : les repertoires | + | NB : les répertoires |
| - | =>Voir NOTES. | + | |
| + | Voir NOTES. | ||
| - | [DEINSTALL] | + | |
| + | DEINSTALL | ||
| + | ~~~bash | ||
| rm -rf ~/.rvm ~/.gem ~/bin/cap | rm -rf ~/.rvm ~/.gem ~/bin/cap | ||
| + | ~~~ | ||
| - | + | NOTES | |
| - | [NOTES] | + | |
| http:// | http:// | ||
| Ligne 59: | Ligne 75: | ||
| Pour relancer la compilation de ruby : | Pour relancer la compilation de ruby : | ||
| + | ~~~bash | ||
| rvm reinstall all --force | rvm reinstall all --force | ||
| + | ~~~ | ||
| - | Pour trouver les repertoires nécessaires à la creation | + | Pour trouver les repertoires nécessaires à la création |
| + | ~~~bash | ||
| /bin/ls -ld $(strace -f -e trace=file cap 2>&1 | grep -v 'No such file or directory' | /bin/ls -ld $(strace -f -e trace=file cap 2>&1 | grep -v 'No such file or directory' | ||
| + | ~~~ | ||
| - | + | ~~~bash | |
| - | | + | ~/ |
| + | ~~~ | ||
tech/notes_ruby_capistrano.1780852327.txt.gz · Dernière modification : de 127.0.0.1
