Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I tried to install the taps gem on my rvm, but got the following result:

larson:~ larson$ rvm gem install taps
Successfully installed taps-0.3.23
1 gem installed
Installing ri documentation for taps-0.3.23...
Installing RDoc documentation for taps-0.3.23...
larson:~ larson$ ruby -S gem which taps
ERROR:  Can't find ruby library file or shared library taps

The strange thing is that taps still appears in my gem list. What does this error mean and will it prevent me from using Heroku's db:push commands?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

gem which find the location of a library file in gems. There is no taps.rb in /usr/local/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/, so you got the above message:

# ls -l /usr/local/lib/ruby/gems/1.8/gems/taps-0.3.23/lib/
total 8
drwxr-xr-x 2 root root 4096 Aug 27 10:31 taps
drwxr-xr-x 2 root root 4096 Aug 27 10:31 vendor

Another example with puppet:

# ls -l /usr/local/lib/ruby/gems/1.8/gems/puppet-2.7.1/lib/
total 8
drwxr-xr-x 30 root root 4096 Jul 18 16:41 puppet
-rw-rw-r--  1 root root 3781 Jul 18 16:41 puppet.rb

# gem which puppet
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.7.1/lib/puppet

So what command would you use to verify that the taps (or puppet) gem is present and working?

gem list taps

*** LOCAL GEMS ***

taps (0.3.23)

and:

taps -h
Options
=======
server    Start a taps database import/export server
pull      Pull a database from a taps server
push      Push a database to a taps server
version   Taps version

Add '-h' to any command to see their usage
share|improve this answer
    
So what command would you use to verify that the taps (or puppet) gem is present and working? –  Andrew Lauer Barinov Aug 28 '11 at 19:43
    
Please check out my above answer. –  quanta Aug 29 '11 at 0:46
    
Thanks! Very helpful reference. –  Andrew Lauer Barinov Aug 30 '11 at 7:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.