Ho costruito la mia prima gemma ma non riesco a farla installare correttamente. Posso eseguire il comandogemma che non riesce a trovare gemma nonostante sia stata installata
sudo gem install ceilingfish-toto
che produce l'uscita
Successfully installed ceilingfish-toto-0.3.6
1 gem installed
Ma quando ho quindi digitare gem which ceilingfish-toto
. Ho l'uscita
Can't find ruby library file or shared library ceilingfish-toto
che è molto strano perché se vado e guardo le mie gemme cartella posso vedere tutti i file installati non
# ls -l /opt/local/lib/ruby/gems/1.8/gems/ceilingfish-toto-0.3.6/
total 48
-rw-r--r-- 1 root admin 1053 14 Feb 17:16 LICENSE
-rw-r--r-- 1 root admin 6166 14 Feb 17:16 README.md
-rw-r--r-- 1 root admin 879 14 Feb 17:16 Rakefile
-rw-r--r-- 1 root admin 6 14 Feb 17:16 VERSION
-rw-r--r-- 1 root admin 2477 14 Feb 17:16 ceilingfish-toto.gemspec
drwxr-xr-x 7 root admin 238 14 Feb 17:16 test
Qualcuno sa cosa potrebbe causare questo? Penso che si lamenti perché c'è un trattino nel nome della gemma. Potete vedere la gemspec qui http://github.com/ceilingfish/toto
Beh, in effetti non esiste un file 'ceilingfish-toto' o una libreria condivisa. – badp