Sqlite3 problems in typo 3.99.2

This may be a problem in my sqlite3 setup. When running rake tests:

Loaded suite
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader
Started
.E…EE…FF…E…E…
Finished in 30.888954 seconds.

  1. Error:
    test_create(ArticleTest):
    ActiveRecord::RecordNotFound: Couldn’t find Article with ID=0
    /Users/victorr/Rails/typo3992/config/…/vendor/rails/activerecord/lib/active_record/base.rb:955:in
    find_one' /Users/victorr/Rails/typo3992/config/../vendor/rails/activerecord/lib/active_record/base.rb:941:infind_from_ids’
    /Users/victorr/Rails/typo3992/config/…/vendor/rails/activerecord/lib/active_record/base.rb:382:in
    find' ./test/unit/article_test.rb:36:intest_create’

  2. Error:
    test_future_publishing(ArticleTest):
    NoMethodError: You have a nil object when you didn’t expect it!
    The error occured while evaluating nil.publish!

Among others.

In a checked out svn tree running mysql - all the tests work just fine.
Thoughts?

Known SQLite3 problem if you don’t have SWIG installed. Install swig,
then
uninstall and reinstall sqlite3-ruby.

I should probably add a check in the installer to verify that swig
exists,
but I’m not sure how that’ll play with Windows.

Scott

Scott L. wrote:

Known SQLite3 problem if you don’t have SWIG installed. Install swig,
then uninstall and reinstall sqlite3-ruby.
Worked like a dream. Thanks.