I built my first gem, but it seems I could not install it correctly. I can execute the command
sudo gem install ceilingfish-toto
What makes the conclusion
Successfully installed ceilingfish-toto-0.3.6 1 gem installed
But when I then type gem which ceilingfish-toto . I get a conclusion
Can't find ruby library file or shared library ceilingfish-toto
This is very strange, because if I go and look in the folder of my gems, I see all the files installed there.
# 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
Does anyone know what might cause this? I think he is complaining because there is a hyphen in the name of the gem. You can see gemspec here http://github.com/ceilingfish/toto
ruby gem
Ceilingfish
source share