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

On 7/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
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:in `find_from_ids'
    /Users/victorr/Rails/typo3992/config/../vendor/rails/activerecord/lib/active_record/base.rb:382:in `find'
    ./test/unit/article_test.rb:36:in `test_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?
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list

_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to