I can't find my second post from tonight, but I fixed the "taps" issue
by removing
sqlite3-ruby gem, per Omar Latief's suggestion - even though it
reports that "taps" depends on it.

I then ran "heroku push:db"  and it reported that it pushed zero
tables.  I then discovered
that of the two databases, "db/development.sqlite3.db" and "db/
production.sqlite3.db",
the development one was blank, so I did:

"heroku db:push sqlite://db/production.sqlite3.db"

This time it shows a number of tables and data being pushed, however,
before it finished, it croaked with this stack trace:
Sending schema
[...]
Sending data
9 tables, 58 records
/Library/Ruby/Gems/1.8/gems/json-1.4.6/lib/json/pure/generator.rb:
283:in `to_json': wrong argument type JSON::Pure::Generator::State
(expected Data) (TypeError)
        from /Library/Ruby/Gems/1.8/gems/json-1.4.6/lib/json/pure/
generator.rb:283:in `json_transform'
        [...]

But then I upgraded "taps" from 0.3.14 to the latest version (0.3.15)
and repeated the db:push
command - and lo and behold - it worked!  Problem solved!


-- 
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.

Reply via email to