I am having trouble with my db migration. I am running instiki 0.13.0 on a Windows 2003 box with Ruby 1.8.6. After installing the manage fixtures plugin and at the instiki home running rake db:fixtures:export_all RAILS_ENV=''production'' --trace I get the following: D:\instiki-0.13.0>rake db:fixtures:export_all RAILS_ENV=''production'' --trace (in D:/instiki-0.13.0) ** Invoke db:fixtures:export_all (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:fixtures:export_all rake aborted! unknown error D:/ruby/lib/ruby/1.8/dl/import.rb:29:in `initialize'' D:/ruby/lib/ruby/1.8/dl/import.rb:29:in `dlopen'' D:/ruby/lib/ruby/1.8/dl/import.rb:29:in `dlload'' D:/ruby/lib/ruby/1.8/dl/import.rb:27:in `each'' D:/ruby/lib/ruby/1.8/dl/import.rb:27:in `dlload'' D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/driver/dl/api.rb:63 D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require'' D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'' D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require'' D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/driver/dl/driver.rb:33 D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require'' D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'' D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:495:in `require'' D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/database.rb:643:in `load_driver'' D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/database.rb:641:in `each'' D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/database.rb:641:in `load_driver'' D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/database.rb:107:in `initialize'' D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:17:in `new'' D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb:17:in `sqlite3_connection'' D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:262:in `send'' D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:262:in `connection_without_query_cache='' D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/query_cache.rb:54:in `connection='' D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:230:in `retrieve_connection'' D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:78:in `connection'' D:/instiki-0.13.0/config/../vendor/plugins/manage_fixtures/tasks/fixtures.rake:34 D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 D:/ruby/bin/rake:16:in `load'' D:/ruby/bin/rake:16 Anyone have a fix? Thanks, Joel
joel, can you please try to update the sqlite3-ruby gem in D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby and tell me if that fixed your issues? regards, matthias On 17.06.2008, at 23:32, Joel W. Garman wrote:> I am having trouble with my db migration. I am running instiki > 0.13.0 on > a Windows 2003 box with Ruby 1.8.6. After installing the manage > fixtures > plugin and at the instiki home running > > rake db:fixtures:export_all RAILS_ENV=''production'' --trace > > I get the following: > > D:\instiki-0.13.0>rake db:fixtures:export_all RAILS_ENV=''production'' > --trace > (in D:/instiki-0.13.0) > ** Invoke db:fixtures:export_all (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute db:fixtures:export_all > rake aborted! > unknown error > D:/ruby/lib/ruby/1.8/dl/import.rb:29:in `initialize'' > D:/ruby/lib/ruby/1.8/dl/import.rb:29:in `dlopen'' > D:/ruby/lib/ruby/1.8/dl/import.rb:29:in `dlload'' > D:/ruby/lib/ruby/1.8/dl/import.rb:27:in `each'' > D:/ruby/lib/ruby/1.8/dl/import.rb:27:in `dlload'' > D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ > driver/dl/api.rb:63 > D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ > lib/active_support/dependencies.rb:495:in > `require'' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ > lib/active_support/dependencies.rb:342:in > `new_constants_in'' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ > lib/active_support/dependencies.rb:495:in > `require'' > D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ > driver/dl/driver.rb:33 > D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ > lib/active_support/dependencies.rb:495:in > `require'' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ > lib/active_support/dependencies.rb:342:in > `new_constants_in'' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ > lib/active_support/dependencies.rb:495:in > `require'' > D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ > database.rb:643:in > `load_driver'' > D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ > database.rb:641:in > `each'' > D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ > database.rb:641:in > `load_driver'' > D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ > database.rb:107:in > `initialize'' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ > connection_adapters/sqlite_adapter.rb:17:in > `new'' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ > connection_adapters/sqlite_adapter.rb:17:in > `sqlite3_connection'' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/connection_specification.rb:262:in > `send'' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/connection_specification.rb:262:in > `connection_without_query_cache='' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ > query_cache.rb:54:in > `connection='' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/connection_specification.rb:230:in > `retrieve_connection'' > D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ > connection_adapters/abstract/connection_specification.rb:78:in > `connection'' > D:/instiki-0.13.0/config/../vendor/plugins/manage_fixtures/tasks/ > fixtures.rake:34 > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in > `synchronize'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in > `top_level'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in > `top_level'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' > D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > D:/ruby/bin/rake:16:in `load'' > D:/ruby/bin/rake:16 > > Anyone have a fix? > > Thanks, > Joel > > _______________________________________________ > Instiki-users mailing list > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users
That worked wonders and my migration completed.. thanks for the response! Joel>joel, can you please try to update the sqlite3-ruby gem in >D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby >and tell me if that fixed your issues? > >regards, >matthias > >On 17.06.2008, at 23:32, Joel W. Garman wrote: > >> I am having trouble with my db migration. I am running instiki >> 0.13.0 on >> a Windows 2003 box with Ruby 1.8.6. After installing the manage >> fixtures >> plugin and at the instiki home running >> >> rake db:fixtures:export_all RAILS_ENV=''production'' --trace >> >> I get the following: >> >> D:\instiki-0.13.0>rake db:fixtures:export_all RAILS_ENV=''production'' >> --trace >> (in D:/instiki-0.13.0) >> ** Invoke db:fixtures:export_all (first_time) >> ** Invoke environment (first_time) >> ** Execute environment >> ** Execute db:fixtures:export_all >> rake aborted! >> unknown error >> D:/ruby/lib/ruby/1.8/dl/import.rb:29:in `initialize'' >> D:/ruby/lib/ruby/1.8/dl/import.rb:29:in `dlopen'' >> D:/ruby/lib/ruby/1.8/dl/import.rb:29:in `dlload'' >> D:/ruby/lib/ruby/1.8/dl/import.rb:27:in `each'' >> D:/ruby/lib/ruby/1.8/dl/import.rb:27:in `dlload'' >> D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ >> driver/dl/api.rb:63 >> D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >> `gem_original_require'' >> D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >> `require'' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ >> lib/active_support/dependencies.rb:495:in >> `require'' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ >> lib/active_support/dependencies.rb:342:in >> `new_constants_in'' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ >> lib/active_support/dependencies.rb:495:in >> `require'' >> D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ >> driver/dl/driver.rb:33 >> D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >> `gem_original_require'' >> D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >> `require'' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ >> lib/active_support/dependencies.rb:495:in >> `require'' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ >> lib/active_support/dependencies.rb:342:in >> `new_constants_in'' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/../../activesupport/ >> lib/active_support/dependencies.rb:495:in >> `require'' >> D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ >> database.rb:643:in >> `load_driver'' >> D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ >> database.rb:641:in >> `each'' >> D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ >> database.rb:641:in >> `load_driver'' >> D:/instiki-0.13.0/config/../vendor/plugins/sqlite3-ruby/sqlite3/ >> database.rb:107:in >> `initialize'' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ >> connection_adapters/sqlite_adapter.rb:17:in >> `new'' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ >> connection_adapters/sqlite_adapter.rb:17:in >> `sqlite3_connection'' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ >> connection_adapters/abstract/connection_specification.rb:262:in >> `send'' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ >> connection_adapters/abstract/connection_specification.rb:262:in >> `connection_without_query_cache='' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ >> query_cache.rb:54:in >> `connection='' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ >> connection_adapters/abstract/connection_specification.rb:230:in >> `retrieve_connection'' >> D:/instiki-0.13.0/vendor/rails/activerecord/lib/active_record/ >> connection_adapters/abstract/connection_specification.rb:78:in >> `connection'' >> D:/instiki-0.13.0/config/../vendor/plugins/manage_fixtures/tasks/ >> fixtures.rake:34 >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in >> `synchronize'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in >> `top_level'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in >> `top_level'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in >> `standard_exception_handling'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in >> `top_level'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in >> `standard_exception_handling'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' >> D:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 >> D:/ruby/bin/rake:16:in `load'' >> D:/ruby/bin/rake:16 >> >> Anyone have a fix? >> >> Thanks, >> Joel >> >> _______________________________________________ >> Instiki-users mailing list >> Instiki-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/instiki-users > >_______________________________________________ >Instiki-users mailing list >Instiki-users at rubyforge.org >http://rubyforge.org/mailman/listinfo/instiki-users