Skip to content

Instantly share code, notes, and snippets.

@danshultz
Created June 7, 2011 14:49
Show Gist options
  • Save danshultz/1012397 to your computer and use it in GitHub Desktop.
Save danshultz/1012397 to your computer and use it in GitHub Desktop.
Stack Trace from running rake test:dblib on windows against the activerecord-sqlserver-adapter gem
> bundle exec rake test:dblib
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
C:/Ruby192/bin/ruby.exe -I"lib;test;test/connections/native_sqlserver_dblib;C:\git\rails/activerecord/test" -I"C:/Ruby19
2/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib" "C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/rake_test_loader.rb"
"test/cases/aaaa_create_tables_test_sqlserver.rb" "test/cases/adapter_test_sqlserver.rb" "test/cases/attribute_methods_
test_sqlserver.rb" "test/cases/batches_test_sqlserver.rb" "test/cases/belongs_to_associations_test_sqlserver.rb" "test/c
ases/binary_test_sqlserver.rb" "test/cases/bind_parameter_test_sqlserver.rb" "test/cases/calculations_test_sqlserver.rb"
"test/cases/column_test_sqlserver.rb" "test/cases/connection_test_sqlserver.rb" "test/cases/eager_test_sqlserver.rb" "t
est/cases/execute_procedure_test_sqlserver.rb" "test/cases/finder_test_sqlserver.rb" "test/cases/has_and_belongs_to_many
_associations_test_sqlserver.rb" "test/cases/inheritance_test_sqlserver.rb" "test/cases/method_scoping_test_sqlserver.rb
" "test/cases/migration_test_sqlserver.rb" "test/cases/offset_and_limit_test_sqlserver.rb" "test/cases/pessimistic_locki
ng_test_sqlserver.rb" "test/cases/query_cache_test_sqlserver.rb" "test/cases/relations_test_sqlserver.rb" "test/cases/sc
hema_dumper_test_sqlserver.rb" "test/cases/schema_test_sqlserver.rb" "test/cases/scratch_test_sqlserver.rb" "test/cases/
session_test_sqlserver.rb" "test/cases/specific_schema_test_sqlserver.rb" "test/cases/table_name_test_sqlserver.rb" "tes
t/cases/transaction_test_sqlserver.rb" "test/cases/unicode_test_sqlserver.rb" "test/cases/uniqueness_validation_test_sql
server.rb" "[]"
Using sqlite3
C:/git/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:71:in `rescue in es
tablish_connection': Please install the sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (no such file to loa
d -- sqlite3) (RuntimeError)
from C:/git/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:68:in
`establish_connection'
from C:/git/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:60:in
`establish_connection'
from C:/git/rails/activerecord/test/support/connection.rb:17:in `connect'
from C:/git/rails/activerecord/test/cases/helper.rb:15:in `<top (required)>'
from C:/git/activerecord-sqlserver-adapter/test/cases/sqlserver_helper.rb:19:in `require'
from C:/git/activerecord-sqlserver-adapter/test/cases/sqlserver_helper.rb:19:in `<top (required)>'
from C:/git/activerecord-sqlserver-adapter/test/cases/aaaa_create_tables_test_sqlserver.rb:2:in `require'
from C:/git/activerecord-sqlserver-adapter/test/cases/aaaa_create_tables_test_sqlserver.rb:2:in `<top (required)
>'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/rake_test_loader.rb:11:in `require'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/rake_test_loader.rb:11:in `block in <main>'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/rake_test_loader.rb:5:in `each'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/rake_test_loader.rb:5:in `<main>'
rake aborted!
Command failed with status (1): [C:/Ruby192/bin/ruby.exe -I"lib;test;test/c...]
Tasks: TOP => test:dblib
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment