I tried to do "heroku db:pull" in vain with the following message.
===== quote start =====
$ heroku db:pull
Taps Load Error: Could not find RubyGem taps (>= 0.2.23, < 0.3.0)
You may need to install or update the taps gem to use db commands.
On most systems this will be:
sudo gem install taps
===== quote end =====
I looked and confirmed that it was not installed.
===== quote start =====
$ gem list
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.3.4)
actionpack (2.3.5, 2.3.4)
activerecord (2.3.5, 2.3.4, 2.2.2)
activeresource (2.3.5, 2.3.4)
activesupport (2.3.5, 2.3.4, 2.2.2)
configuration (1.1.0)
heroku (1.8.2)
json_pure (1.2.2)
launchy (0.3.5)
mime-types (1.16)
rack (1.1.0, 1.0.1, 1.0.0)
rails (2.3.5, 2.3.4)
rake (0.8.7)
rest-client (1.3.1)
sequel (3.0.0)
sinatra (0.9.2)
thor (0.9.9)
===== quote end =====
So I did what I had been told with the following error.
===== quote start =====
$ sudo gem install taps
Building native extensions. This could take a while...
ERROR: Error installing taps:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
checking for fdatasync() in -lrt... no
checking for sqlite3.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby
--with-sqlite3-dir
--without-sqlite3-dir
--with-sqlite3-include
--without-sqlite3-include=${sqlite3-dir}/include
--with-sqlite3-lib
--without-sqlite3-lib=${sqlite3-dir}/lib
--with-rtlib
--without-rtlib
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-
ruby-1.2.5 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.5/ext/
sqlite3_api/gem_make.out
===== quote end =====
I looked into the "gem_make.out" log, but I found nothing but an error
message exactly same with the above.
I could certainly locate 'sqlite.h'.
===== quote start =====
$ locate sqlite3.h
/usr/include/sqlite3.h
/usr/share/doc/sqlite-doc-3.6.20/c3ref/sqlite3.html
===== quote end =====
So I tried the following option in vain, not feeling it was a
appropriate choice.
===== quote start =====
$ sudo gem install taps -- --without-sqlite3-include=/usr/include/
sqlite3.h
Building native extensions. This could take a while...
ERROR: Error installing taps:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb --without-sqlite3-include=/usr/include/
sqlite3.h
checking for fdatasync() in -lrt... no
checking for sqlite3.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
(... The rest is same as the above)
===== quote end =====
The platform is as follows:
Fedora release 12 (Constantine)
Linux ******** 2.6.31.12-174.2.3.fc12.i686 #1 SMP Mon Jan 18 20:22:46
UTC 2010 i686 i686 i386 GNU/Linux
I'll appreciate if somebody can kindly help me to solve the problem.
Thank you in advance.
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.