no implicit conversion of Hash into String (TypeError)

Jan

Working on the RoR 5.0.0.beta3 branch. Since yesterday the server wont start anymore.

gems I am using:

gem 'devise', "4.0.0.rc2"
gem 'rails', github: "rails/rails", branch: "v5.0.0.beta3"
gem 'mongoid', github: 'mediatainment/mongoid', branch: 'MONGOID-4218-rails-5'
gem 'simple_token_authentication', github: "mediatainment/simple_token_authentication", branch: :remove_deprication_for_rails51

Here is the stacktrace:

Exiting
/Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/dependencies.rb:428:in `join': no implicit conversion of Hash into String (TypeError)
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/dependencies.rb:428:in `block in search_for_file'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/dependencies.rb:427:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/dependencies.rb:427:in `search_for_file'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/dependencies.rb:502:in `load_missing_constant'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/dependencies.rb:203:in `const_missing'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/inflector/methods.rb:259:in `const_get'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/inflector/methods.rb:259:in `block in constantize'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/inflector/methods.rb:257:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/inflector/methods.rb:257:in `inject'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/inflector/methods.rb:257:in `constantize'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/inflector/methods.rb:302:in `safe_constantize'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/core_ext/string/inflections.rb:77:in `safe_constantize'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/actioncable/lib/action_cable/engine.rb:34:in `block (2 levels) in <class:Railtie>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/lazy_load_hooks.rb:44:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/actioncable/lib/action_cable/server/base.rb:81:in `<module:Server>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/actioncable/lib/action_cable/server/base.rb:4:in `<module:ActionCable>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/actioncable/lib/action_cable/server/base.rb:3:in `<top (required)>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/actioncable/lib/action_cable.rb:43:in `server'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/actioncable/lib/action_cable/engine.rb:49:in `block (3 levels) in <class:Railtie>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/actionpack/lib/action_dispatch/routing/route_set.rb:389:in `instance_exec'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/actionpack/lib/action_dispatch/routing/route_set.rb:389:in `eval_block'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/actionpack/lib/action_dispatch/routing/route_set.rb:405:in `block in clear!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/actionpack/lib/action_dispatch/routing/route_set.rb:405:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/actionpack/lib/action_dispatch/routing/route_set.rb:405:in `clear!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/application/routes_reloader.rb:35:in `block in clear!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/application/routes_reloader.rb:33:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/application/routes_reloader.rb:33:in `clear!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/application/routes_reloader.rb:15:in `reload!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/application/routes_reloader.rb:26:in `block in updater'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/file_update_checker.rb:75:in `call'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/file_update_checker.rb:75:in `execute'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/application/routes_reloader.rb:27:in `updater'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/application/finisher.rb:103:in `block in <module:Finisher>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/initializable.rb:30:in `instance_exec'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/initializable.rb:30:in `run'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/initializable.rb:55:in `block in run_initializers'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `call'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/initializable.rb:54:in `run_initializers'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/application.rb:353:in `initialize!'
    from /Users/jan/RubymineProjects/global-gigs-api/config/environment.rb:5:in `<top (required)>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/dependencies.rb:293:in `require'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/dependencies.rb:293:in `block in require'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/dependencies.rb:259:in `load_dependency'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/activesupport/lib/active_support/dependencies.rb:293:in `require'
    from /Users/jan/RubymineProjects/global-gigs-api/config.ru:3:in `block in <main>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:55:in `instance_eval'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:55:in `initialize'
    from /Users/jan/RubymineProjects/global-gigs-api/config.ru:in `new'
    from /Users/jan/RubymineProjects/global-gigs-api/config.ru:in `<main>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:49:in `eval'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:49:in `new_from_string'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/builder.rb:40:in `parse_file'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:318:in `build_app_and_options_from_config'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:218:in `app'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/commands/server.rb:59:in `app'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-2.0.0.alpha/lib/rack/server.rb:353:in `wrapped_app'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/commands/server.rb:123:in `log_to_stdout'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/commands/server.rb:77:in `start'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/commands/commands_tasks.rb:90:in `block in server'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/commands/commands_tasks.rb:85:in `tap'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/commands/commands_tasks.rb:85:in `server'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/rails-2346c7f28163/railties/lib/rails/commands.rb:18:in `<top (required)>'
    from /Users/jan/RubymineProjects/global-gigs-api/bin/rails:9:in `require'
    from /Users/jan/RubymineProjects/global-gigs-api/bin/rails:9:in `<top (required)>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.6.4/lib/spring/client/rails.rb:28:in `load'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.6.4/lib/spring/client/rails.rb:28:in `call'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.6.4/lib/spring/client/command.rb:7:in `call'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.6.4/lib/spring/client.rb:28:in `run'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.6.4/bin/spring:49:in `<top (required)>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.6.4/lib/spring/binstub.rb:11:in `load'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/spring-1.6.4/lib/spring/binstub.rb:11:in `<top (required)>'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /Users/jan/.rbenv/versions/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /Users/jan/RubymineProjects/global-gigs-api/bin/spring:13:in `<top (required)>'
    from bin/rails:3:in `load'
    from bin/rails:3:in `<main>'
MacBook-Pro:global-gigs-api jan$
Jan

Strange: It seems to be the action_mailer.default was causing the issue. Changed it to default_options.

config.action_mailer.default_options = {
    :charset => "utf-8",
    from: ENV['MAIL_SENDER_EMAIL']}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

no implicit conversion of Hash into String (TypeError)

From Dev

Ruby - TypeError: no implicit conversion of Hash into String

From Dev

No implicit conversion of Hash into String (Ruby)

From Dev

No implicit conversion of String into Integer (TypeError)?

From Dev

no implicit conversion of String into Integer (TypeError)

From Dev

TypeError: no implicit conversion of nil into String

From Dev

tinymce-rails no implicit conversion of String into Hash

From Dev

Ruby no implicit conversion of Fixnum into String (TypeError)

From Dev

ruby - json no implicit conversion of String into Integer (TypeError)

From Dev

TypeError: no implicit conversion of nil into String error

From Dev

Chef: no implicit conversion of String into Integer TypeError

From Dev

ruby - json no implicit conversion of String into Integer (TypeError)

From Dev

TypeError: no implicit conversion of String into Integer on association

From Dev

Ruby error - '+': no implicit conversion of Fixnum into String (TypeError)

From Dev

TypeError: no implicit conversion of nil into String with gsub

From Dev

TypeError: no implicit conversion of Capybara::ElementNotFound into String

From Dev

heroku toolbelt `initialize': no implicit conversion of nil into Hash (TypeError)

From Dev

`[]': no implicit conversion of Symbol into Integer (TypeError) for a simple ruby Hash

From Dev

heroku toolbelt `initialize': no implicit conversion of nil into Hash (TypeError)

From Dev

no implicit conversion of nil into String when using hash without =>

From Dev

Error no implicit conversion of Hash into String, on using Rack::Test::UploadedFile in rspec

From Dev

Why do I get "no implicit conversion of String into Integer (TypeError)"?

From Dev

Rails, mongoid throws TypeError no implicit conversion of nil into String

From Dev

Rails- upgrading to ruby 2.2.2 - no implicit conversion of Array into String (TypeError)

From Dev

TypeError in MessagesController#create_message no implicit conversion of nil into String

From Dev

No implicit conversion of Array into String?

From Dev

No implicit conversion of file into string

From Dev

No implicit conversion of Array into String?

From Dev

implicit conversion string to integer

Related Related

  1. 1

    no implicit conversion of Hash into String (TypeError)

  2. 2

    Ruby - TypeError: no implicit conversion of Hash into String

  3. 3

    No implicit conversion of Hash into String (Ruby)

  4. 4

    No implicit conversion of String into Integer (TypeError)?

  5. 5

    no implicit conversion of String into Integer (TypeError)

  6. 6

    TypeError: no implicit conversion of nil into String

  7. 7

    tinymce-rails no implicit conversion of String into Hash

  8. 8

    Ruby no implicit conversion of Fixnum into String (TypeError)

  9. 9

    ruby - json no implicit conversion of String into Integer (TypeError)

  10. 10

    TypeError: no implicit conversion of nil into String error

  11. 11

    Chef: no implicit conversion of String into Integer TypeError

  12. 12

    ruby - json no implicit conversion of String into Integer (TypeError)

  13. 13

    TypeError: no implicit conversion of String into Integer on association

  14. 14

    Ruby error - '+': no implicit conversion of Fixnum into String (TypeError)

  15. 15

    TypeError: no implicit conversion of nil into String with gsub

  16. 16

    TypeError: no implicit conversion of Capybara::ElementNotFound into String

  17. 17

    heroku toolbelt `initialize': no implicit conversion of nil into Hash (TypeError)

  18. 18

    `[]': no implicit conversion of Symbol into Integer (TypeError) for a simple ruby Hash

  19. 19

    heroku toolbelt `initialize': no implicit conversion of nil into Hash (TypeError)

  20. 20

    no implicit conversion of nil into String when using hash without =>

  21. 21

    Error no implicit conversion of Hash into String, on using Rack::Test::UploadedFile in rspec

  22. 22

    Why do I get "no implicit conversion of String into Integer (TypeError)"?

  23. 23

    Rails, mongoid throws TypeError no implicit conversion of nil into String

  24. 24

    Rails- upgrading to ruby 2.2.2 - no implicit conversion of Array into String (TypeError)

  25. 25

    TypeError in MessagesController#create_message no implicit conversion of nil into String

  26. 26

    No implicit conversion of Array into String?

  27. 27

    No implicit conversion of file into string

  28. 28

    No implicit conversion of Array into String?

  29. 29

    implicit conversion string to integer

HotTag

Archive