Uncaught exception: Unable to autoload constant WikiContentVersion, expected - constants

I gets a weird error. The redmine application can run without problem after i install it.
When I rename class WikiContentVersion such as WikiContentVersion1, it will failed just as we expect. However, when I recover the name to WikiContentVersion, it raises an error:
Uncaught exception: Unable to autoload constant WikiContentVersion, expected ........to define it.
Could anyone give me some advices?
Redmine 4.0.3,
ruby 2.5.5p157 (2019-03-15 revision 67260) [i386-mingw32].
Rails 5.2.3
mysql-5.5.62-winx64
windows10
ast Debugger (ruby-debug-ide 0.7.0.beta6, debase 0.2.3.beta2, file filtering is supported) listens on 0.0.0.0:58519
=> Booting WEBrick
=> Rails 5.2.3 application starting in production on http://127.0.0.1:3000
=> Run `rails server -h` for more startup options
Exiting
Uncaught exception: Unable to autoload constant WikiContentVersion, expected F:/webpage/redmine-4.0.3/app/models/wiki_content_version.rb to define it
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:511:in `load_missing_constant'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:195:in `const_missing'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:542:in `load_missing_constant'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:195:in `const_missing'
F:/webpage/redmine-4.0.3/app/models/wiki_content.rb:102:in `<class:WikiContent>'
F:/webpage/redmine-4.0.3/app/models/wiki_content.rb:20:in `<top (required)>'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:378:in `block in require_or_load'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `block in load_interlock'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb:13:in `loading'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:37:in `load_interlock'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:356:in `require_or_load'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:334:in `depend_on'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:246:in `require_dependency'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:478:in `block (2 levels) in eager_load!'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `each'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:477:in `block in eager_load!'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `each'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:475:in `eager_load!'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:356:in `eager_load!'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `each'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers'
F:/Ruby25/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
F:/Ruby25/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
F:/Ruby25/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
F:/Ruby25/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
F:/Ruby25/lib/ruby/2.5.0/tsort.rb:347:in `each'
F:/Ruby25/lib/ruby/2.5.0/tsort.rb:347:in `call'
F:/Ruby25/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
F:/Ruby25/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
F:/Ruby25/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!'
F:/webpage/redmine-4.0.3/config/environment.rb:14:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize'
config.ru:in `new'
config.ru:in `<main>'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `eval'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `new_from_string'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in `parse_file'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/server.rb:319:in `build_app_and_options_from_config'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/server.rb:219:in `app'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:27:in `app'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/server.rb:354:in `wrapped_app'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/server.rb:283:in `start'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:53:in `start'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:147:in `block in perform'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in `tap'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in `perform'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/command/base.rb:65:in `perform'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/command.rb:46:in `invoke'
F:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.3/lib/rails/commands.rb:18:in `<top (required)>'
F:/webpage/redmine-4.0.3/bin/rails:4:in `require'
F:/webpage/redmine-4.0.3/bin/rails:4:in `<top (required)>'

Related

<strong>bundler: failed to load command: puma</strong>---Happened after gem update

The application is working well but puma is crashing when a postgres database connection is created...This was working well before updating my gem list now using puma ~6.0.2
Puma starting in single mode...
* Puma version: 6.0.2 (ruby 3.2.0-p0) ("Sunflower")
* Min threads: 0
* Max threads: 5
* Environment: development
* PID: 22653
! Unable to load application: NameError: uninitialized constant DataObjects::Pooling::Pool::Fixnum
bundler: failed to load command: puma (/data/data/com.termux/files/usr/bin/puma)
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/pooling.rb:149:in `initialize': uninitialized constant DataObjects::Pooling::Pool::Fixnum (NameError)
raise ArgumentError.new("+max_size+ should be a Fixnum but was #{max_size.inspect}") unless Fixnum === max_size
^^^^^^
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/pooling.rb:121:in `new'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/pooling.rb:121:in `block in new'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/pooling.rb:121:in `synchronize'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/pooling.rb:121:in `new'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/connection.rb:68:in `new'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:251:in `open_connection'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-transactions-1.2.0/lib/dm-transactions/adapters/dm-do-adapter.rb:69:in `open_connection'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:276:in `with_connection'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:61:in `execute'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/adapters/dm-postgres-adapter.rb:60:in `ensure in without_notices'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/adapters/dm-postgres-adapter.rb:60:in `without_notices'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/adapters/dm-postgres-adapter.rb:18:in `upgrade_model_storage'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:73:in `upgrade_model_storage'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:145:in `auto_upgrade!'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:47:in `block in repository_execute'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/descendant_set.rb:64:in `block in each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/subject_set.rb:211:in `block in each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/ordered_set.rb:320:in `block in each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/ordered_set.rb:320:in `each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/ordered_set.rb:320:in `each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/subject_set.rb:211:in `each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/descendant_set.rb:63:in `each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:46:in `repository_execute'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:27:in `auto_upgrade!'
from /storage/emulated/0/%/db/db/db.rb:14:in `<top (required)>'
from /storage/emulated/0/%/db/app/app.rb:1:in `require'
from /storage/emulated/0/%/db/app/app.rb:1:in `<top (required)>'
from config.ru:1:in `require'
from config.ru:1:in `block in <main>'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/rack-2.2.6.2/lib/rack/builder.rb:116:in `eval'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/rack-2.2.6.2/lib/rack/builder.rb:116:in `new_from_string'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/rack-2.2.6.2/lib/rack/builder.rb:105:in `load_file'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/rack-2.2.6.2/lib/rack/builder.rb:66:in `parse_file'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/configuration.rb:364:in `load_rackup'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/configuration.rb:286:in `app'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/runner.rb:158:in `load_and_bind'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/single.rb:44:in `run'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/launcher.rb:186:in `run'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/cli.rb:75:in `run'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/bin/puma:10:in `<top (required)>'
from /data/data/com.termux/files/usr/bin/puma:25:in `load'
from /data/data/com.termux/files/usr/bin/puma:25:in `<top (required)>'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:58:in `load'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:58:in `kernel_load'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:23:in `run'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:491:in `exec'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:34:in `dispatch'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:28:in `start'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.4/exe/bundle:45:in `block in <top (required)>'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.4/exe/bundle:33:in `<top (required)>'
from /data/data/com.termux/files/usr/bin/bundle:25:in `load'
from /data/data/com.termux/files/usr/bin/bundle:25:in `<main>'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/pooling.rb:149:in `initialize': uninitialized constant DataObjects::Pooling::Pool::Fixnum (NameError)
raise ArgumentError.new("+max_size+ should be a Fixnum but was #{max_size.inspect}") unless Fixnum === max_size
^^^^^^
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/pooling.rb:121:in `new'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/pooling.rb:121:in `block in new'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/pooling.rb:121:in `synchronize'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/pooling.rb:121:in `new'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/data_objects-0.10.17/lib/data_objects/connection.rb:68:in `new'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:251:in `open_connection'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-transactions-1.2.0/lib/dm-transactions/adapters/dm-do-adapter.rb:69:in `open_connection'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:276:in `with_connection'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:61:in `execute'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/adapters/dm-postgres-adapter.rb:57:in `without_notices'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/adapters/dm-postgres-adapter.rb:18:in `upgrade_model_storage'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:73:in `upgrade_model_storage'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:145:in `auto_upgrade!'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:47:in `block in repository_execute'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/descendant_set.rb:64:in `block in each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/subject_set.rb:211:in `block in each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/ordered_set.rb:320:in `block in each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/ordered_set.rb:320:in `each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/ordered_set.rb:320:in `each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/subject_set.rb:211:in `each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-core-1.2.1/lib/dm-core/support/descendant_set.rb:63:in `each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:46:in `repository_execute'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/dm-migrations-1.2.0/lib/dm-migrations/auto_migration.rb:27:in `auto_upgrade!'
from /storage/emulated/0/%/db/db/db.rb:14:in `<top (required)>'
from /storage/emulated/0/%/db/app/app.rb:1:in `require'
from /storage/emulated/0/%/db/app/app.rb:1:in `<top (required)>'
from config.ru:1:in `require'
from config.ru:1:in `block in <main>'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/rack-2.2.6.2/lib/rack/builder.rb:116:in `eval'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/rack-2.2.6.2/lib/rack/builder.rb:116:in `new_from_string'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/rack-2.2.6.2/lib/rack/builder.rb:105:in `load_file'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/rack-2.2.6.2/lib/rack/builder.rb:66:in `parse_file'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/configuration.rb:364:in `load_rackup'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/configuration.rb:286:in `app'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/runner.rb:158:in `load_and_bind'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/single.rb:44:in `run'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/launcher.rb:186:in `run'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/lib/puma/cli.rb:75:in `run'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/puma-6.0.2/bin/puma:10:in `<top (required)>'
from /data/data/com.termux/files/usr/bin/puma:25:in `load'
from /data/data/com.termux/files/usr/bin/puma:25:in `<top (required)>'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:58:in `load'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:58:in `kernel_load'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:23:in `run'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:491:in `exec'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:34:in `dispatch'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:28:in `start'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.4/exe/bundle:45:in `block in <top (required)>'
from /data/data/com.termux/files/usr/lib/ruby/site_ruby/3.2.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.4/exe/bundle:33:in `<top (required)>'
from /data/data/com.termux/files/usr/bin/bundle:25:in `load'
from /data/data/com.termux/files/usr/bin/bundle:25:in `<main>'

no implicit conversion of Hash into String (TypeError)

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$
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']}

how to install Redmine_RE plugin on Redmine.3.1.0

I have installed Redmine 3.1.0 on windows.I want to install Redmine_RE plugin on this version of Redmine.But when i copy the Redmine_re zip into plugins folder in the redmine and restart redmine server it is exiting with following error
C:\Sites\redmine-3.1.0>bundle exec rails server webrick -e production
DL is deprecated, please use Fiddle
DL is deprecated, please use Fiddle
=> Booting WEBrick
=> Rails 4.2.3 application starting in production on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activerecord-4.2.3/lib/acti
ve_record/scoping/named.rb:143:in `scope': The scope body needs to be callable.
(ArgumentError)
from C:/Sites/redmine-3.1.0/plugins/redmine_re/app/models/re_artifact_pr
operties.rb:6:in `<class:ReArtifactProperties>'
from C:/Sites/redmine-3.1.0/plugins/redmine_re/app/models/re_artifact_pr
operties.rb:1:in `<top (required)>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:274:in `require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:274:in `block in require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:274:in `require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:360:in `require_or_load'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:317:in `depend_on'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:233:in `require_dependency'
from C:/Sites/redmine-3.1.0/plugins/redmine_re/init.rb:6:in `<top (requi
red)>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:274:in `require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:274:in `block in require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:274:in `require'
from C:/Sites/redmine-3.1.0/lib/redmine/plugin.rb:155:in `block in load'
from C:/Sites/redmine-3.1.0/lib/redmine/plugin.rb:146:in `each'
from C:/Sites/redmine-3.1.0/lib/redmine/plugin.rb:146:in `load'
from C:/Sites/redmine-3.1.0/config/initializers/30-redmine.rb:21:in `<to
p (required)>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:268:in `load'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:268:in `block in load'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:268:in `load'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/engine.rb:652:in `block in load_config_initializer'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/notifications.rb:166:in `instrument'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/engine.rb:651:in `load_config_initializer'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/engine.rb:615:in `each'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/engine.rb:615:in `block in <class:Engine>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/initializable.rb:30:in `instance_exec'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/initializable.rb:30:in `run'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/initializable.rb:55:in `block in run_initializers'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block i
n tsort_each'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (
2 levels) in each_strongly_connected_component'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:210:in `block (
2 levels) in each_strongly_connected_component_from'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_st
rongly_connected_component_from'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:209:in `block i
n each_strongly_connected_component_from'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/initializable.rb:44:in `each'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/initializable.rb:44:in `tsort_each_child'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:203:in `each_st
rongly_connected_component_from'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block i
n each_strongly_connected_component'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_st
rongly_connected_component'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_e
ach'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/initializable.rb:54:in `run_initializers'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/application.rb:352:in `initialize!'
from C:/Sites/redmine-3.1.0/config/environment.rb:14:in `<top (required)
>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:274:in `require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:274:in `block in require'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
4.2.3/lib/active_support/dependencies.rb:274:in `require'
from C:/Sites/redmine-3.1.0/config.ru:3:in `block in <main>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.6.4/lib
/rack/builder.rb:55:in `instance_eval'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.6.4/lib
/rack/builder.rb:55:in `initialize'
from C:/Sites/redmine-3.1.0/config.ru:in `new'
from C:/Sites/redmine-3.1.0/config.ru:in `<main>'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.6.4/lib
/rack/builder.rb:49:in `eval'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.6.4/lib
/rack/builder.rb:49:in `new_from_string'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.6.4/lib
/rack/builder.rb:40:in `parse_file'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.6.4/lib
/rack/server.rb:299:in `build_app_and_options_from_config'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.6.4/lib
/rack/server.rb:208:in `app'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/commands/server.rb:61:in `app'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.6.4/lib
/rack/server.rb:336:in `wrapped_app'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/rack-1.6.4/lib
/rack/server.rb:272:in `start'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/commands/server.rb:80:in `start'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/commands/commands_tasks.rb:80:in `block in server'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/commands/commands_tasks.rb:75:in `tap'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/commands/commands_tasks.rb:75:in `server'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.2.3
/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
pls suggest how to fix this.
You should remove the installed plugin, switch to the branch towards_redmine_3_compatibility on the github page of the plugin, then download it as zip.
Do not forget to rename the extracted folder to redmine_re
(Sorry, I don't have enough reputation to comment on your question)

How to configure action mailer on rails 4.2 with preview_enabled=true

Since rails 4.2 is now released, I would like to add mailer previews to my project in staging. Following this I though it would simple be putting this code:
config.action_mailer.preview_enabled = true
config.action_mailer.preview_path = "#{Rails.root}/lib/mailer_previews"
to my staging.rb file, but it gives me method_missing error.
What am I doind wrong? Can someone help me?
Stack trace:
method_missing': undefined method `preview_enabled=' for ActionMailer::Base:Class (NoMethodError)
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/actionmailer-4.2.0.rc1/lib/action_mailer/railtie.rb:41:in `block (3 levels) in <class:Railtie>'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/actionmailer-4.2.0.rc1/lib/action_mailer/railtie.rb:41:in `each'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/actionmailer-4.2.0.rc1/lib/action_mailer/railtie.rb:41:in `block (2 levels) in <class:Railtie>'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0.rc1/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0.rc1/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0.rc1/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0.rc1/lib/active_support/lazy_load_hooks.rb:44:in `each'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0.rc1/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/actionmailer-4.2.0.rc1/lib/action_mailer/base.rb:945:in `<class:Base>'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/actionmailer-4.2.0.rc1/lib/action_mailer/base.rb:417:in `<module:ActionMailer>'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/actionmailer-4.2.0.rc1/lib/action_mailer/base.rb:9:in `<top (required)>'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/actionmailer-4.2.0.rc1/lib/action_mailer/railtie.rb:59:in `block in <class:Railtie>'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0.rc1/lib/active_support/lazy_load_hooks.rb:36:in `call'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0.rc1/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0.rc1/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0.rc1/lib/active_support/lazy_load_hooks.rb:44:in `each'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/activesupport-4.2.0.rc1/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/application/finisher.rb:62:in `block in <module:Finisher>'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/initializable.rb:30:in `instance_exec'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/initializable.rb:30:in `run'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/vagrant/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'
from /home/vagrant/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /home/vagrant/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'
from /home/vagrant/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /home/vagrant/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:345:in `each'
from /home/vagrant/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:345:in `call'
from /home/vagrant/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'
from /home/vagrant/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'
from /home/vagrant/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/initializable.rb:54:in `run_initializers'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/application.rb:352:in `initialize!'
from /home/vagrant/workspace/bankfacil/communicator/config/environment.rb:5:in `<top (required)>'
from /home/vagrant/workspace/bankfacil/communicator/config.ru:3:in `require'
from /home/vagrant/workspace/bankfacil/communicator/config.ru:3:in `block in <main>'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/rack-1.6.0.beta2/lib/rack/builder.rb:55:in `instance_eval'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/rack-1.6.0.beta2/lib/rack/builder.rb:55:in `initialize'
from /home/vagrant/workspace/bankfacil/communicator/config.ru:in `new'
from /home/vagrant/workspace/bankfacil/communicator/config.ru:in `<main>'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/rack-1.6.0.beta2/lib/rack/builder.rb:49:in `eval'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/rack-1.6.0.beta2/lib/rack/builder.rb:49:in `new_from_string'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/rack-1.6.0.beta2/lib/rack/builder.rb:40:in `parse_file'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/rack-1.6.0.beta2/lib/rack/server.rb:299:in `build_app_and_options_from_config'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/rack-1.6.0.beta2/lib/rack/server.rb:208:in `app'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/commands/server.rb:61:in `app'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/rack-1.6.0.beta2/lib/rack/server.rb:336:in `wrapped_app'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/commands/server.rb:139:in `log_to_stdout'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/commands/server.rb:78:in `start'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/commands/commands_tasks.rb:80:in `block in server'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/commands/commands_tasks.rb:75:in `tap'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/commands/commands_tasks.rb:75:in `server'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /home/vagrant/.rvm/gems/ruby-2.1.3/gems/railties-4.2.0.rc1/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
It works, in staging.rb,just add show_previews instead of preview_enabled, like this :
config.consider_all_requests_local = true
# mailer previews
config.action_mailer.show_previews = true
config.action_mailer.preview_path = "#{Rails.root}/lib/mailer_previews"

Rake db:seed causes an error

I executed the commands rake db:drop, rake db:create and rake db:migrate and everything was well. However when I run the command rake db:seed an weird error is caused
alex#ubuntu:~/RubymineProjects/some_project$ rake db:seed --trace
** Invoke db:seed (first_time)
** Execute db:seed
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
rake aborted!
Connection refused - connect(2)
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/smtp.rb:540:in `initialize'
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/smtp.rb:540:in `open'
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/smtp.rb:540:in `tcp_socket'
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/smtp.rb:549:in `block in do_start'
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/smtp.rb:549:in `do_start'
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/smtp.rb:519:in `start'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/mail-2.4.4/lib/mail/network/delivery_methods/smtp.rb:144:in `deliver!'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/mail-2.4.4/lib/mail/message.rb:2034:in `do_delivery'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/mail-2.4.4/lib/mail/message.rb:229:in `block in deliver'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/actionmailer-3.2.3/lib/action_mailer/base.rb:414:in `block in deliver_mail'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/notifications.rb:123:in `block in instrument'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/notifications.rb:123:in `instrument'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/actionmailer-3.2.3/lib/action_mailer/base.rb:412:in `deliver_mail'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/mail-2.4.4/lib/mail/message.rb:229:in `deliver'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/devise-2.1.0/lib/devise/models/confirmable.rb:128:in `send_on_create_confirmation_instructions'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:416:in `_run__3737511161133628056__create__2350421739628145298__callbacks'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `__run_callback'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in `_run_create_callbacks'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/callbacks.rb:268:in `create'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/persistence.rb:344:in `create_or_update'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/callbacks.rb:264:in `block in create_or_update'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:425:in `_run__3737511161133628056__save__2350421739628145298__callbacks'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `__run_callback'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/callbacks.rb:264:in `create_or_update'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/persistence.rb:84:in `save'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/validations.rb:50:in `save'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/transactions.rb:241:in `block (2 levels) in save'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/transactions.rb:208:in `transaction'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/transactions.rb:241:in `block in save'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/transactions.rb:240:in `save'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/relation/finder_methods.rb:293:in `find_or_instantiator_by_attributes'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/dynamic_matchers.rb:47:in `method_missing'
/home/alex/RubymineProjects/some_project/db/seeds.rb:42:in `<top (required)>'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `load'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `block in load'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in `load'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/engine.rb:520:in `load_seed'
/home/alex/.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/railties/databases.rake:309:in `block (2 levels) in <top (required)>'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/home/alex/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/bin/rake:19:in `load'
/home/alex/.rvm/gems/ruby-1.9.3-p194#global/bin/rake:19:in `<main>'
/home/alex/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
/home/alex/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => db:seed
What does this error mean? What do I fix it?
Your SMTP mailer is trying to post and cannot connect. in development.rb set
config.action_mailer.perform_deliveries = false