プロジェクト

全般

プロフィール

Vote #81925

未完了

generate redmine_plugin is broken for Redmine 5

Admin Redmine さんが3年以上前に追加.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
0
issue_org_id:
37048
author_id:
115380
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
155
ステータス-->[New]

説明

I tried this command

bundle exec rails generate redmine_plugin Polls

/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require': cannot load such file -- listen (LoadError)
        from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
        from /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `block in require'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:299:in `load_dependency'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `require'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/evented_file_update_checker.rb:6:in `'
        from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
        from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
        from /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `block in require'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:299:in `load_dependency'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `require'
        from /home/www/redmine-5.0.0/config/environments/development.rb:58:in `block in '
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/railtie.rb:234:in `instance_eval'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/railtie.rb:234:in `configure'
        from /home/www/redmine-5.0.0/config/environments/development.rb:5:in `'
        from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
        from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
        from /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `block in require'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:299:in `load_dependency'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `require'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/engine.rb:571:in `block (2 levels) in '
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/engine.rb:570:in `each'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/engine.rb:570:in `block in '
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:32:in `instance_exec'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:32:in `run'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:61:in `block in run_initializers'
        from /usr/share/ruby/tsort.rb:228:in `block in tsort_each'
        from /usr/share/ruby/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
        from /usr/share/ruby/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
        from /usr/share/ruby/tsort.rb:431:in `each_strongly_connected_component_from'
        from /usr/share/ruby/tsort.rb:421:in `block in each_strongly_connected_component_from'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:50:in `each'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:50:in `tsort_each_child'
        from /usr/share/ruby/tsort.rb:415:in `call'
        from /usr/share/ruby/tsort.rb:415:in `each_strongly_connected_component_from'
        from /usr/share/ruby/tsort.rb:349:in `block in each_strongly_connected_component'
        from /usr/share/ruby/tsort.rb:347:in `each'
        from /usr/share/ruby/tsort.rb:347:in `call'
        from /usr/share/ruby/tsort.rb:347:in `each_strongly_connected_component'
        from /usr/share/ruby/tsort.rb:226:in `tsort_each'
        from /usr/share/ruby/tsort.rb:205:in `tsort_each'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:60:in `run_initializers'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/application.rb:391:in `initialize!'
        from /home/www/redmine-5.0.0/config/environment.rb:16:in `'
        from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
        from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
        from /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `block in require'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:299:in `load_dependency'
        from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `require'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/application.rb:367:in `require_environment!'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/command/actions.rb:28:in `require_environment!'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/commands/generate/generate_command.rb:21:in `perform'
        from /usr/share/gems/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
        from /usr/share/gems/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
        from /usr/share/gems/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/command/base.rb:69:in `perform'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/command.rb:48:in `invoke'
        from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/commands.rb:18:in `'
        from bin/rails:4:in `require'
        from bin/rails:4:in `
'

journals

Does the following command work?

<pre>
RAILS_ENV=development bundle exec rails generate redmine_plugin Polls
</pre>
--------------------------------------------------------------------------------

表示するデータがありません

他の形式にエクスポート: Atom PDF

いいね!0