Search code examples
sqliteherokutaps

Heroku Taps load error


I'm trying to use Heroku Taps but after "gem install taps", I'm still getting the following error when I do "heroku db:pull":

heroku db:pull

Taps Load Error: dlopen(/Users/yves/.rvm/gems/ruby-1.8.7-p302/gems/sqlite3-1.3.3/lib/sqlite3/sqlite3_native.bundle, 9): no suitable image found.  Did find:
    /Users/yves/.rvm/gems/ruby-1.8.7-p302/gems/sqlite3-1.3.3/lib/sqlite3/sqlite3_native.bundle: mach-o, but wrong architecture - /Users/yves/.rvm/gems/ruby-1.8.7-p302/gems/sqlite3-1.3.3/lib/sqlite3/sqlite3_native.bundle
You may need to install or update the taps gem to use db commands.

My setup:

Homebrew

RVM

rvm list

rvm rubies

   jruby-1.5.1 [ x86_64-java ]
   ree-1.8.7-2010.02 [ i386 ]
   ruby-1.8.7-p160 [ i386 ]
=> ruby-1.8.7-p302 [ i386 ]
   ruby-head [ i386 ]

GEMS

gem list

...
heroku (1.17.10)
...
sqlite3 (1.3.3)
sqlite3-ruby (1.3.3)
taps (0.3.15)
...

Solution

  • Ok, think I solved it. I installed ruby 1.8.7 again with RVM and that seemed to do the trick. Not sure why though...

    rvm install ruby-1.8.7-p302