前提・実現したいこと
Windows10上にbitnamiを使わずにRedmineをインストールしたいです。
ここを参考にインストールを進めています。
発生している問題・エラーメッセージ
「eventmachineというgemを一度アンインストールして、再インストール」まで行った後に、秘密鍵を生成するコマンドが異常終了します。
Z:\redmine-4.0.7>bundle exec rake generate_secret_token Z:\redmine-4.0.7>
試したこと
- ruby環境の再インストール
- bundler でのインストール先を vendor/bundle にしてみた
補足情報(FW/ツールのバージョンなど)
rubyinstaller-devkit-2.4.10-1-x64.exe
redmine-4.0.7.zip
インストールの作業ログは以下の通りです。
Z:\redmine-4.0.7>gem install bundler Fetching: bundler-2.1.4.gem (100%) Successfully installed bundler-2.1.4 Parsing documentation for bundler-2.1.4 Installing ri documentation for bundler-2.1.4 Done installing documentation for bundler after 29 seconds 1 gem installed Z:\redmine-4.0.7>bundle install --without development test rmagick [DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set without 'development test rmagick'`, and stop using this flag Fetching gem metadata from https://rubygems.org/............. Fetching gem metadata from https://rubygems.org/. Resolving dependencies..... Fetching rake 13.0.1 Installing rake 13.0.1 Fetching concurrent-ruby 1.1.6 Installing concurrent-ruby 1.1.6 Fetching i18n 0.7.0 Installing i18n 0.7.0 Fetching minitest 5.14.1 Installing minitest 5.14.1 Fetching thread_safe 0.3.6 Installing thread_safe 0.3.6 Fetching tzinfo 1.2.7 Installing tzinfo 1.2.7 Fetching activesupport 5.2.4.2 Installing activesupport 5.2.4.2 Fetching builder 3.2.4 Installing builder 3.2.4 Fetching erubi 1.9.0 Installing erubi 1.9.0 Fetching mini_portile2 2.4.0 Installing mini_portile2 2.4.0 Fetching nokogiri 1.10.9 (x64-mingw32) Installing nokogiri 1.10.9 (x64-mingw32) Fetching rails-dom-testing 2.0.3 Installing rails-dom-testing 2.0.3 Fetching crass 1.0.6 Installing crass 1.0.6 Fetching loofah 2.5.0 Installing loofah 2.5.0 Fetching rails-html-sanitizer 1.3.0 Installing rails-html-sanitizer 1.3.0 Fetching actionview 5.2.4.2 Installing actionview 5.2.4.2 Fetching rack 2.2.2 Installing rack 2.2.2 Fetching rack-test 1.1.0 Installing rack-test 1.1.0 Fetching actionpack 5.2.4.2 Installing actionpack 5.2.4.2 Fetching nio4r 2.5.2 Installing nio4r 2.5.2 with native extensions Fetching websocket-extensions 0.1.5 Installing websocket-extensions 0.1.5 Fetching websocket-driver 0.7.2 Installing websocket-driver 0.7.2 with native extensions Fetching actioncable 5.2.4.2 Installing actioncable 5.2.4.2 Fetching globalid 0.4.2 Installing globalid 0.4.2 Fetching activejob 5.2.4.2 Installing activejob 5.2.4.2 Fetching mini_mime 1.0.2 Installing mini_mime 1.0.2 Fetching mail 2.7.1 Installing mail 2.7.1 Fetching actionmailer 5.2.4.2 Installing actionmailer 5.2.4.2 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching thor 1.0.1 Installing thor 1.0.1 Fetching railties 5.2.4.2 Installing railties 5.2.4.2 Fetching actionpack-xml_parser 2.0.1 Installing actionpack-xml_parser 2.0.1 Fetching activemodel 5.2.4.2 Installing activemodel 5.2.4.2 Fetching arel 9.0.0 Installing arel 9.0.0 Fetching activerecord 5.2.4.2 Installing activerecord 5.2.4.2 Fetching mimemagic 0.3.5 Installing mimemagic 0.3.5 Fetching marcel 0.3.3 Installing marcel 0.3.3 Fetching activestorage 5.2.4.2 Installing activestorage 5.2.4.2 Fetching public_suffix 4.0.5 Installing public_suffix 4.0.5 Fetching addressable 2.7.0 Installing addressable 2.7.0 Using bundler 2.1.4 Fetching css_parser 1.7.1 Installing css_parser 1.7.1 Fetching csv 3.0.9 Installing csv 3.0.9 Fetching daemons 1.3.1 Installing daemons 1.3.1 Fetching eventmachine 1.2.7 (x64-mingw32) Installing eventmachine 1.2.7 (x64-mingw32) Fetching htmlentities 4.3.4 Installing htmlentities 4.3.4 Fetching net-ldap 0.16.2 Installing net-ldap 0.16.2 Fetching ruby-openid 2.9.2 Installing ruby-openid 2.9.2 Fetching rack-openid 1.4.2 Installing rack-openid 1.4.2 Fetching sprockets 3.7.2 Installing sprockets 3.7.2 Fetching sprockets-rails 3.2.1 Installing sprockets-rails 3.2.1 Fetching rails 5.2.4.2 Installing rails 5.2.4.2 Fetching rbpdf-font 1.19.1 Installing rbpdf-font 1.19.1 Fetching rbpdf 1.19.8 Installing rbpdf 1.19.8 Fetching redcarpet 3.4.0 Installing redcarpet 3.4.0 with native extensions Fetching request_store 1.0.5 Installing request_store 1.0.5 Fetching roadie 3.5.1 Installing roadie 3.5.1 Fetching roadie-rails 1.3.0 Installing roadie-rails 1.3.0 Fetching rouge 3.3.0 Installing rouge 3.3.0 Fetching sqlite3 1.3.13 (x64-mingw32) Installing sqlite3 1.3.13 (x64-mingw32) Fetching thin 1.7.2 Installing thin 1.7.2 with native extensions Fetching thin_service 0.0.7 Installing thin_service 0.0.7 Fetching tzinfo-data 1.2020.1 Installing tzinfo-data 1.2020.1 Bundle complete! 30 Gemfile dependencies, 63 gems now installed. Gems in the groups development, test and rmagick were not installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from nokogiri: Nokogiri is built with the packaged libraries: libxml2-2.9.10, libxslt-1.1.34, zlib-1.2.11, libiconv-1.15. Z:\redmine-4.0.7>bundle exec rake generate_secret_token Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby' rake aborted! LoadError: cannot load such file -- 2.4/rubyeventmachine Z:/redmine-4.0.7/config/application.rb:5:in `<top (required)>' Z:/redmine-4.0.7/Rakefile:5:in `require' Z:/redmine-4.0.7/Rakefile:5:in `<top (required)>' (See full trace by running task with --trace) Z:\redmine-4.0.7>gem uninstall eventmachine You have requested to uninstall the gem: eventmachine-1.2.7-x64-mingw32 thin-1.7.2 depends on eventmachine (>= 1.0.4, ~> 1.0) websocket-driver-0.7.2 depends on eventmachine (>= 0, development) If you remove this gem, these dependencies will not be met. Continue with Uninstall? [yN] y Successfully uninstalled eventmachine-1.2.7-x64-mingw32 Z:\redmine-4.0.7>gem install eventmachine --platform ruby Fetching: eventmachine-1.2.7.gem (100%) Temporarily enhancing PATH for MSYS/MINGW... Building native extensions. This could take a while... Successfully installed eventmachine-1.2.7 Parsing documentation for eventmachine-1.2.7 Installing ri documentation for eventmachine-1.2.7 Done installing documentation for eventmachine after 9 seconds 1 gem installed Z:\redmine-4.0.7>bundle exec rake generate_secret_token Z:\redmine-4.0.7>
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/06/10 08:28