On May 26, 2007, at 11:40 PM, Kenneth Brooks wrote:
while running the rake test:plugins i'm getting the following
message..
Hi Ken,
This is occurring when the tests are being run for a plugin Tracks
uses called acts_as_state_machine. The tests for this plugin attempt
to run on multiple databases, including sqlite, because the authors
wanted to make sure that the plugin works with all those databases.
The test is most likely failing for you because you don't have the
sqlite gem installed, but note the tests will also try to run against
sqlite3, postgresql & mysql.
You could get them all to pass by installing and setting up all of
the databases as mapped in vendor/plugins/acts_as_state_machine/test/
database.yml.
However, the failure of this test is in no way indicative that you
will have trouble running Tracks. Personally, I would recommend
ignoring this unless you plan to do development on Tracks.
Cheers from NYC,
Luke
i'm sure its probably not an issue with tracks and more of a newbie
ruby/gems/sqlite issue but i'm hoping that you guys might have a
quick answer..
i have sqlite3 installed and the sqlite3-ruby gem (and keep in mind
that i have no sqlite experience so who knows...).
-- create_table(:conversations, {:force=>true})
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:
27:in `gem_original_require': no such file to load -- sqlite
(MissingSourceFile)
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/
custom_require.rb:27:in `require'
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/
lib/active_support/dependencies.rb:147:in `require'
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/
lib/active_support/core_ext/kernel/requires.rb:7:in
`require_library_or_gem'
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1 /
lib/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/
lib/active_support/core_ext/kernel/requires.rb:5:in
`require_library_or_gem'
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/
lib/active_record/connection_adapters/sqlite_adapter.rb:30:in
`sqlite_connection'
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4 /
lib/active_record/connection_adapters/abstract/
connection_specification.rb:251:in `send'
from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/
lib/active_record/connection_adapters/abstract/
connection_specification.rb:251:in `connection_without_query_cache='
... 17 levels...
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
rake_test_loader.rb:5:in `load'
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
rake_test_loader.rb:5
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
rake_test_loader.rb:5:in `each'
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
rake_test_loader.rb:5
rake aborted!
Command failed with status (1): [/opt/local/bin/ruby -Ilib:test "/
opt/local...]
thanks,
ken
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
--
Luke Melia - http://www.lukemelia.com - New York, NY
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss