anlek / mongify

Mongify allows you to map your data from a sql database and into a mongodb document database.
http://github.com/anlek/mongify
MIT License
317 stars 82 forks source link

Testing SQL Server Migration #118

Closed obissick closed 7 years ago

obissick commented 7 years ago

Getting this error when trying to test connection.

obissick@mongify:~$ mongify check database.config /home/obissick/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- tiny_tds (LoadError) from /home/obissick/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in block in require' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:inload_dependency' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in require' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activerecord-sqlserver-adapter-4.2.15/lib/active_record/sqlserver_base.rb:9:insqlserver_connection' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in new_connection' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:incheckout_new_connection' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in acquire_connection' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:inblock in checkout' from /home/obissick/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:incheckout' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in block in connection' from /home/obissick/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/monitor.rb:214:inmon_synchronize' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in connection' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:567:inretrieve_connection' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.1/lib/active_record/connection_handling.rb:113:in retrieve_connection' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.1/lib/active_record/connection_handling.rb:87:inconnection' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/mongify-1.3.0/lib/mongify/database/sql_connection.rb:57:in has_connection?' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/mongify-1.3.0/lib/mongify/cli/command/worker.rb:95:incheck_sql_connection' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/mongify-1.3.0/lib/mongify/cli/command/worker.rb:64:in execute' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/mongify-1.3.0/lib/mongify/cli/application.rb:28:inexecute!' from /home/obissick/.rvm/gems/ruby-2.3.0/gems/mongify-1.3.0/bin/mongify:15:in <top (required)>' from /home/obissick/.rvm/gems/ruby-2.3.0/bin/mongify:23:inload' from /home/obissick/.rvm/gems/ruby-2.3.0/bin/mongify:23:in <main>' from /home/obissick/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:ineval' from /home/obissick/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `

'

anlek commented 7 years ago

try installing tiny_tds by running gem install tiny_tds

obissick commented 7 years ago

That worked! thanks.

anlek commented 7 years ago

Glad to hear!