Hi,
I just installed the tap gem and wanted to pull data from an already
in production app on Heroku; however, I'm getting this error when
running "heroku db:pull sqlite://db/development.sqlite3"
Loaded Taps v0.3.12
Warning: Data in the database 'sqlite://db/development.sqlite3' will
be overwritten and will not be recoverable.
Are you sure you wish to continue? (y/n)? y
Receiving schema
/usr/local/lib/ruby/gems/1.8/gems/taps-0.3.12/bin/schema:3:in
`require': no such file to load -- rubygems (LoadError)
from /usr/local/lib/ruby/gems/1.8/gems/taps-0.3.12/bin/schema:3
/usr/local/lib/ruby/gems/1.8/gems/taps-0.3.12/bin/schema:3:in
`require': no such file to load -- rubygems (LoadError)
from /usr/local/lib/ruby/gems/1.8/gems/taps-0.3.12/bin/schema:3
Schema: 100% |==========================================| Time:
00:00:02
Receiving indexes
/usr/local/lib/ruby/gems/1.8/gems/taps-0.3.12/bin/schema:3:in
`require': no such file to load -- rubygems (LoadError)
from /usr/local/lib/ruby/gems/1.8/gems/taps-0.3.12/bin/schema:3
schema_migrat: 100% |==========================================| Time:
00:00:00
Receiving data
2 tables, 8 records
/usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/
errors.rb:62:in `check': SQLite3::SQLException: column version is not
unique (Sequel::DatabaseError)
from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/
resultset.rb:56:in `check'
from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/
resultset.rb:48:in `commence'
from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/
resultset.rb:38:in `initialize'
from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/
statement.rb:135:in `new'
from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/
statement.rb:135:in `execute'
from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/
database.rb:226:in `execute_batch'
from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/
database.rb:157:in `prepare'
from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/lib/sqlite3/
database.rb:225:in `execute_batch'
... 31 levels...
from /usr/local/lib/ruby/gems/1.8/gems/heroku-1.10.2/lib/heroku/
command.rb:20:in `run'
from /usr/local/lib/ruby/gems/1.8/gems/heroku-1.10.2/bin/heroku:13
from /usr/local/bin/heroku:19:in `load'
from /usr/local/bin/heroku:19
I have cleaned the development database with "rake db:migrate:reset"
and even created a new database and ran "rake db:migrate" on it so
that i'm starting with a clean slate. But none of it works. I'm
running on Heroku gem 1.10.2 and Taps gem 0.3.12.
gem environment:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.1]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-darwin-8
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.8
- /Users/dereklei/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
Thanks 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.