Re: heroku db:push doesnt work

2011-01-15 Thread ChrisWolf
Ok, I updated heroku and the problem is still there.  I really don't
think it's a Heroku issue because
I can reproduce the problem simply by invoking the taps executable,
even without
any command line arguments:

$ taps
/Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3/
sqlite3_native.bundle:
dlsym(0x1014150c0, Init_sqlite3_native): symbol not found
- /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3/
sqlite3_native.bundle (LoadError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`require'
from /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3.rb:6
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
[...]

That native library looks fishy because nm reports only one defined
symbol and one
undefined (external) symbol:

nm /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3/
sqlite3_native.bundle
 t __mh_bundle_header
 U dyld_stub_binder





On Jan 11, 9:56 am, Asif sheikh.a...@gmail.com wrote:
 Update your heroku gem (gem update heroku), and try again. It should
 work now.
 There was a bug at their end, but they have fixed it now.

 --Asif

 On Jan 10, 7:14 am, ChrisWolf cw10...@gmail.com wrote:

  I am having the same issue.   The exact error I get is:

  $ heroku db:push
  Taps 0.3 Load Error: dlsym(0x101df8ef0, Init_sqlite3_native): symbol
  not found - /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3/
  sqlite3_native.bundle
  You may need to install or update the taps gem to use db commands.

  This is on MacOSX 10.6 (Snow Leopard), Ruby-1.8.7, and taps is
  definitely installed:
  gem list -d taps
  *** LOCAL GEMS ***

  taps (0.3.14)

  ...and if I run this test script:

  require 'rubygems'
  require 'sqlite3'
  tempname = test.sqlite#{3+rand}
  db = SQLite3::Database.new(tempname)
  puts db.execute('select sqlite_version()')
  db.close
  File.unlink(tempname)

  It reports the SQLite version correctly, so I assume the sqlite3-ruby
  gem is also properly installed.

  At this point, I'm totally stuck.  Or maybe pushing from Snow Leopard
  isn't supported?, but I doubt it.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: heroku db:push doesnt work

2011-01-15 Thread ChrisWolf
I just ran dtrace on ruby dbcheck.rb  (sqlite test case I
mentioned earlier)
and I see:

  0  18561   open:entry ruby /Library/Ruby/Site/
1.8/universal-darwin10.0/sqlite3/sqlite3_native.bundle

Which is the sqlite3 bundle that comes with Ruby, rather then the
bundle that
comes with sqlite3-ruby gem.  Doing nm on the native library bundle
in  /Library/Ruby/Site
shows all the expected exported symbols.

So there appears to be two versions of sqlite3.  Confirmed:

$ gem list -d sqlite3

Installed at (1.3.2): /Library/Ruby/Gems/1.8
 (1.2.4): /System/Library/Frameworks/Ruby.framework/
Versions/1.8/usr/lib/ruby/gems/1.8

Now trying to uninstall the gem version, as Omar Latief suggests
which I hesitated to do before because it said taps depends on it:

# gem uninstall sqlite3-ruby
You have requested to uninstall the gem:
sqlite3-ruby-1.3.2
taps-0.3.14 depends on [sqlite3-ruby (~ 1.2)]
Continue with Uninstall? [Yn]  Y
Successfully uninstalled sqlite3-ruby-1.3.2

After finishing that, I can run taps and not get any errors.
However, when I run heroku push:db, I see:

Sending data
0 tables, 0 records
Resetting sequences

In other words, no error messages, but it didn't work either,
because my app definitely has data, runs locally and uses sqlite3.


0 tables, 0 records
Resetting sequences





On Jan 15, 6:06 pm, ChrisWolf cw10...@gmail.com wrote:
 Ok, I updated heroku and the problem is still there.  I really don't
 think it's a Heroku issue because
 I can reproduce the problem simply by invoking the taps executable,
 even without
 any command line arguments:

 $ taps
 /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3/
 sqlite3_native.bundle:
 dlsym(0x1014150c0, Init_sqlite3_native): symbol not found
 - /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3/
 sqlite3_native.bundle (LoadError)
         from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
 `require'
         from /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3.rb:6
         from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
 `gem_original_require'
         [...]

 That native library looks fishy because nm reports only one defined
 symbol and one
 undefined (external) symbol:

 nm /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3/
 sqlite3_native.bundle
  t __mh_bundle_header
                  U dyld_stub_binder

 On Jan 11, 9:56 am, Asif sheikh.a...@gmail.com wrote:

  Update your heroku gem (gem update heroku), and try again. It should
  work now.
  There was a bug at their end, but they have fixed it now.

  --Asif

  On Jan 10, 7:14 am, ChrisWolf cw10...@gmail.com wrote:

   I am having the same issue.   The exact error I get is:

   $ heroku db:push
   Taps 0.3 Load Error: dlsym(0x101df8ef0, Init_sqlite3_native): symbol
   not found - /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3/
   sqlite3_native.bundle
   You may need to install or update the taps gem to use db commands.

   This is on MacOSX 10.6 (Snow Leopard), Ruby-1.8.7, and taps is
   definitely installed:
   gem list -d taps
   *** LOCAL GEMS ***

   taps (0.3.14)

   ...and if I run this test script:

   require 'rubygems'
   require 'sqlite3'
   tempname = test.sqlite#{3+rand}
   db = SQLite3::Database.new(tempname)
   puts db.execute('select sqlite_version()')
   db.close
   File.unlink(tempname)

   It reports the SQLite version correctly, so I assume the sqlite3-ruby
   gem is also properly installed.

   At this point, I'm totally stuck.  Or maybe pushing from Snow Leopard
   isn't supported?, but I doubt it.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: heroku db:push doesnt work

2011-01-15 Thread ChrisWolf
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 heroku@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: heroku db:push doesnt work

2011-01-11 Thread Asif
Update your heroku gem (gem update heroku), and try again. It should
work now.
There was a bug at their end, but they have fixed it now.

--Asif


On Jan 10, 7:14 am, ChrisWolf cw10...@gmail.com wrote:
 I am having the same issue.   The exact error I get is:

 $ heroku db:push
 Taps 0.3 Load Error: dlsym(0x101df8ef0, Init_sqlite3_native): symbol
 not found - /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3/
 sqlite3_native.bundle
 You may need to install or update the taps gem to use db commands.

 This is on MacOSX 10.6 (Snow Leopard), Ruby-1.8.7, and taps is
 definitely installed:
 gem list -d taps
 *** LOCAL GEMS ***

 taps (0.3.14)

 ...and if I run this test script:

 require 'rubygems'
 require 'sqlite3'
 tempname = test.sqlite#{3+rand}
 db = SQLite3::Database.new(tempname)
 puts db.execute('select sqlite_version()')
 db.close
 File.unlink(tempname)

 It reports the SQLite version correctly, so I assume the sqlite3-ruby
 gem is also properly installed.

 At this point, I'm totally stuck.  Or maybe pushing from Snow Leopard
 isn't supported?, but I doubt it.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: heroku db:push doesnt work

2011-01-10 Thread ChrisWolf
I am having the same issue.   The exact error I get is:

$ heroku db:push
Taps 0.3 Load Error: dlsym(0x101df8ef0, Init_sqlite3_native): symbol
not found - /Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.3.2/lib/sqlite3/
sqlite3_native.bundle
You may need to install or update the taps gem to use db commands.

This is on MacOSX 10.6 (Snow Leopard), Ruby-1.8.7, and taps is
definitely installed:
gem list -d taps
*** LOCAL GEMS ***

taps (0.3.14)

...and if I run this test script:

require 'rubygems'
require 'sqlite3'
tempname = test.sqlite#{3+rand}
db = SQLite3::Database.new(tempname)
puts db.execute('select sqlite_version()')
db.close
File.unlink(tempname)

It reports the SQLite version correctly, so I assume the sqlite3-ruby
gem is also properly installed.

At this point, I'm totally stuck.  Or maybe pushing from Snow Leopard
isn't supported?, but I doubt it.


-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: heroku db:push doesnt work

2011-01-03 Thread Omar Latief
I was having the same exact problem when I stumbled on this thread.
Even though I installed the sqlite3-ruby gem it seems like taps or
something was still using the old sqlite3 gem.

So I tried running: gem uninstall sqlite3
That seemed to fix it for me.

Hope this helps

-Omar

On Jan 1, 4:56 pm, kerri miller ke...@contour.com wrote:
 Ok, well lets break it down.

 c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/sequel/adapters/
 sqlite.rb:5:in `rescue in top (required)': SQLite3::Database#type_
 translation is not defined.  If you are using the sqlite3 gem, please
 install the sqlite3-ruby gem. (Sequel::Error)

 1 - are you using the sqlite3 gem?  if so, migrate to using sqlite3-ruby

 2 - you might try specifying the DB:

 heroku db:push sqlite://local.db

 There's a numbre of semi-documented features in the heroku gem around the db
 commands - give the source code a read, there might be something in there
 about translations (I seem to remember some flag you could set to specify
 the source, but its been a few months)

 good luck!

 -kerri-







 On Sat, Jan 1, 2011 at 6:15 AM, sasha revzin sasha.n...@gmail.com wrote:
  heroku db:push

  :)

  On Fri, Dec 31, 2010 at 22:06, kerri miller ke...@contour.com wrote:

  what are you entering for a command?

  On Mon, Dec 27, 2010 at 2:31 AM, Sasha sasha.n...@gmail.com wrote:

  tried reinstall heroku and taps and nothing helped :(

  here what im getting:

  Sending schema
  c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/sequel/adapters/
  sqlite.rb:5:in `rescue in top (required)': SQLite3::Database#type_
  translation is not defined.  If you are using the sqlite3 gem, please
  install the sqlite3-ruby gem. (Sequel::Error)
         from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
  sequel/adapters/sqlite.rb:2:in `top (required)'
         from internal:lib/rubygems/custom_require:29:in `require'
         from internal:lib/rubygems/custom_require:29:in `require'
         from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
  sequel/core.rb:249:in `block in tsk_require'
         from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
  sequel/core.rb:72:in `block in check_requiring_thread'
         from internal:prelude:10:in `synchronize'
         from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
  sequel/core.rb:69:in `check_requiring_thread'
         from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
  sequel/core.rb:249:in `tsk_require'
         from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
  sequel/database/connecting.rb:25:in `adapter_class'
         from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
  sequel/database/connecting.rb:54:in `connect'
         from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
  sequel/core.rb:119:in `connect'
         from c:/Ruby192/lib/ruby/gems/1.9.1/gems/taps-0.3.14/lib/taps/
  schema.rb:18:in `dump_table'
         from c:/Ruby192/lib/ruby/gems/1.9.1/gems/taps-0.3.14/bin/
  schema:32:in `main'

  p.s im using rails 3.0.3 (ruby 1.9.1) on windows (yes-yes windows with
  small 'w' )

  --
  You received this message because you are subscribed to the Google Groups
  Heroku group.
  To post to this group, send email to her...@googlegroups.com.
  To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.

   --
  You received this message because you are subscribed to the Google Groups
  Heroku group.
  To post to this group, send email to her...@googlegroups.com.
  To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.

   --
  You received this message because you are subscribed to the Google Groups
  Heroku group.
  To post to this group, send email to her...@googlegroups.com.
  To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: heroku db:push doesnt work

2011-01-01 Thread sasha revzin
heroku db:push

:)

On Fri, Dec 31, 2010 at 22:06, kerri miller ke...@contour.com wrote:

 what are you entering for a command?


 On Mon, Dec 27, 2010 at 2:31 AM, Sasha sasha.n...@gmail.com wrote:

 tried reinstall heroku and taps and nothing helped :(

 here what im getting:

 Sending schema
 c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/sequel/adapters/
 sqlite.rb:5:in `rescue in top (required)': SQLite3::Database#type_
 translation is not defined.  If you are using the sqlite3 gem, please
 install the sqlite3-ruby gem. (Sequel::Error)
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/adapters/sqlite.rb:2:in `top (required)'
from internal:lib/rubygems/custom_require:29:in `require'
from internal:lib/rubygems/custom_require:29:in `require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:249:in `block in tsk_require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:72:in `block in check_requiring_thread'
from internal:prelude:10:in `synchronize'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:69:in `check_requiring_thread'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:249:in `tsk_require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/database/connecting.rb:25:in `adapter_class'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/database/connecting.rb:54:in `connect'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:119:in `connect'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/taps-0.3.14/lib/taps/
 schema.rb:18:in `dump_table'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/taps-0.3.14/bin/
 schema:32:in `main'


 p.s im using rails 3.0.3 (ruby 1.9.1) on windows (yes-yes windows with
 small 'w' )

 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: heroku db:push doesnt work

2011-01-01 Thread kerri miller
Ok, well lets break it down.

c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/sequel/adapters/
sqlite.rb:5:in `rescue in top (required)': SQLite3::Database#type_
translation is not defined.  If you are using the sqlite3 gem, please
install the sqlite3-ruby gem. (Sequel::Error)

1 - are you using the sqlite3 gem?  if so, migrate to using sqlite3-ruby

2 - you might try specifying the DB:

heroku db:push sqlite://local.db

There's a numbre of semi-documented features in the heroku gem around the db
commands - give the source code a read, there might be something in there
about translations (I seem to remember some flag you could set to specify
the source, but its been a few months)

good luck!

-kerri-

On Sat, Jan 1, 2011 at 6:15 AM, sasha revzin sasha.n...@gmail.com wrote:

 heroku db:push

 :)

 On Fri, Dec 31, 2010 at 22:06, kerri miller ke...@contour.com wrote:

 what are you entering for a command?


 On Mon, Dec 27, 2010 at 2:31 AM, Sasha sasha.n...@gmail.com wrote:

 tried reinstall heroku and taps and nothing helped :(

 here what im getting:

 Sending schema
 c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/sequel/adapters/
 sqlite.rb:5:in `rescue in top (required)': SQLite3::Database#type_
 translation is not defined.  If you are using the sqlite3 gem, please
 install the sqlite3-ruby gem. (Sequel::Error)
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/adapters/sqlite.rb:2:in `top (required)'
from internal:lib/rubygems/custom_require:29:in `require'
from internal:lib/rubygems/custom_require:29:in `require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:249:in `block in tsk_require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:72:in `block in check_requiring_thread'
from internal:prelude:10:in `synchronize'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:69:in `check_requiring_thread'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:249:in `tsk_require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/database/connecting.rb:25:in `adapter_class'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/database/connecting.rb:54:in `connect'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:119:in `connect'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/taps-0.3.14/lib/taps/
 schema.rb:18:in `dump_table'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/taps-0.3.14/bin/
 schema:32:in `main'


 p.s im using rails 3.0.3 (ruby 1.9.1) on windows (yes-yes windows with
 small 'w' )

 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



heroku db:push doesnt work

2010-12-31 Thread Sasha
tried reinstall heroku and taps and nothing helped :(

here what im getting:

Sending schema
c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/sequel/adapters/
sqlite.rb:5:in `rescue in top (required)': SQLite3::Database#type_
translation is not defined.  If you are using the sqlite3 gem, please
install the sqlite3-ruby gem. (Sequel::Error)
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
sequel/adapters/sqlite.rb:2:in `top (required)'
from internal:lib/rubygems/custom_require:29:in `require'
from internal:lib/rubygems/custom_require:29:in `require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
sequel/core.rb:249:in `block in tsk_require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
sequel/core.rb:72:in `block in check_requiring_thread'
from internal:prelude:10:in `synchronize'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
sequel/core.rb:69:in `check_requiring_thread'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
sequel/core.rb:249:in `tsk_require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
sequel/database/connecting.rb:25:in `adapter_class'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
sequel/database/connecting.rb:54:in `connect'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
sequel/core.rb:119:in `connect'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/taps-0.3.14/lib/taps/
schema.rb:18:in `dump_table'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/taps-0.3.14/bin/
schema:32:in `main'


p.s im using rails 3.0.3 (ruby 1.9.1) on windows (yes-yes windows with
small 'w' )

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: heroku db:push doesnt work

2010-12-31 Thread kerri miller
what are you entering for a command?

On Mon, Dec 27, 2010 at 2:31 AM, Sasha sasha.n...@gmail.com wrote:

 tried reinstall heroku and taps and nothing helped :(

 here what im getting:

 Sending schema
 c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/sequel/adapters/
 sqlite.rb:5:in `rescue in top (required)': SQLite3::Database#type_
 translation is not defined.  If you are using the sqlite3 gem, please
 install the sqlite3-ruby gem. (Sequel::Error)
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/adapters/sqlite.rb:2:in `top (required)'
from internal:lib/rubygems/custom_require:29:in `require'
from internal:lib/rubygems/custom_require:29:in `require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:249:in `block in tsk_require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:72:in `block in check_requiring_thread'
from internal:prelude:10:in `synchronize'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:69:in `check_requiring_thread'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:249:in `tsk_require'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/database/connecting.rb:25:in `adapter_class'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/database/connecting.rb:54:in `connect'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/sequel-3.17.0/lib/
 sequel/core.rb:119:in `connect'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/taps-0.3.14/lib/taps/
 schema.rb:18:in `dump_table'
from c:/Ruby192/lib/ruby/gems/1.9.1/gems/taps-0.3.14/bin/
 schema:32:in `main'


 p.s im using rails 3.0.3 (ruby 1.9.1) on windows (yes-yes windows with
 small 'w' )

 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.