By doing this:
bundle exec heroku db:push
I got this:
! Taps Load Error: no such file to load -- sqlite3
! You may need to install or update the taps gem to use db commands.
! On most systems this will be:
!
! sudo gem install taps
This is my database.yml file:
development:
adapter: mysql2
encoding: utf8
database: g_dev
pool: 5
username: root
password:
I debuged it.
I need to put gem 'sqlite3' in the gemfile.
Because of this line 10 in cli.rb (taps-0.3.24):
require 'optparse'
require 'tempfile'
require 'taps/monkey'
require 'taps/config'
require 'taps/log'
require 'vendor/okjson'
Taps::Config.taps_database_url = ENV['TAPS_DATABASE_URL'] || begin
# this is dirty but it solves a weird problem where the tempfile disappears mid-process
require 'sqlite3'
It's in taps source code... :( I have no choice
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With