両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
ruby:redmine [2024/01/30 23:37] – [バックアップ] ともやん | ruby:redmine [2025/03/14 04:03] (現在) – [scm adapters を移行する] ともやん |
---|
<code> | <code> |
$ su - redmine | $ su - redmine |
$ curl -LO http://www.redmine.org/releases/redmine-5.0.4.tar.gz | $ curl -LO https://www.redmine.org/releases/redmine-5.1.1.tar.gz |
$ tar zxvf redmine-5.0.4.tar.gz | $ tar zxvf redmine-5.1.1.tar.gz |
</code> | </code> |
| |
<WRAP prewrap 100%> | <WRAP prewrap 100%> |
<code> | <code> |
$ cd redmine-5.0.4 | $ cd redmine-5.1.1 |
$ cp /var/www/vhosts/redmine.tomoyan.net/redmine/config/database.yml config/database.yml | $ cp /var/www/vhosts/redmine.tomoyan.net/redmine/config/database.yml config/database.yml |
| $ cp /var/www/vhosts/redmine.tomoyan.net/redmine/config/configuration.yml config/configuration.yml |
| $ cp /var/www/vhosts/redmine.tomoyan.net/redmine/config/environments/development.rb config/environments/development.rb |
</code> | </code> |
</WRAP> | </WRAP> |
== 依存するソフトウェアのインストール == | == 依存するソフトウェアのインストール == |
Bundlerをインストールする。\\ | Bundlerをインストールする。\\ |
<code> | <WRAP color_term> |
| <WRAP color_command><html><pre> |
$ gem install bundler | $ gem install bundler |
Fetching bundler-2.1.4.gem | </pre></html></WRAP> |
Successfully installed bundler-2.1.4 | <WRAP color_result><html><pre> |
Parsing documentation for bundler-2.1.4 | Fetching bundler-2.5.5.gem |
Installing ri documentation for bundler-2.1.4 | Successfully installed bundler-2.5.5 |
Done installing documentation for bundler after 2 seconds | Parsing documentation for bundler-2.5.5 |
| Installing ri documentation for bundler-2.5.5 |
| Done installing documentation for bundler after 0 seconds |
1 gem installed | 1 gem installed |
</code> | </pre></html></WRAP> |
| </WRAP> |
| |
Puma を使用する場合は Gemfile に追記する。\\ | Puma を使用する場合は Gemfile に追記する。\\ |
<code> | <WRAP color_term> |
| <WRAP color_command><html><pre> |
$ nano Gemfile | $ nano Gemfile |
</code> | </pre></html></WRAP> |
<code> | <WRAP color_mincode><code ruby> |
source 'https://rubygems.org' | source 'https://rubygems.org' |
| |
ruby '>= 2.5.0', '< 3.2.0' | ruby '>= 2.7.0', '< 3.3.0' |
gem 'bundler', '>= 1.12.0' | |
| |
gem 'rails', '6.1.7' | gem 'rails', '6.1.7.6' |
gem 'globalid', '~> 0.4.2' if Gem.ruby_version < Gem::Version.new('2.6.0') | gem 'rouge', '~> 4.2.0' |
gem 'rouge', '~> 3.28.0' | |
gem 'request_store', '~> 1.5.0' | gem 'request_store', '~> 1.5.0' |
gem 'mini_mime', '~> 1.1.0' | gem 'mini_mime', '~> 1.1.0' |
gem "actionpack-xml_parser" | gem "actionpack-xml_parser" |
gem 'roadie-rails', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 2.2.0' : '~> 3.0.0') | gem 'roadie-rails', '~> 3.1.0' |
gem 'marcel' | gem 'marcel' |
gem "mail", "~> 2.7.1" | gem 'mail', '~> 2.8.1' |
gem 'csv', '~> 3.2.0' | gem 'nokogiri', '~> 1.15.2' |
gem 'nokogiri', (Gem.ruby_version < Gem::Version.new('2.6.0') ? '~> 1.12.5' : '~> 1.13.4') | gem 'i18n', '~> 1.14.1' |
gem "rexml", require: false if Gem.ruby_version >= Gem::Version.new('3.0') | gem 'rbpdf', '~> 1.21.3' |
gem 'i18n', '~> 1.10.0' | |
gem "rbpdf", "~> 1.20.0" | |
gem 'addressable' | gem 'addressable' |
gem 'rubyzip', '~> 2.3.0' | gem 'rubyzip', '~> 2.3.0' |
gem 'net-smtp', '~> 0.3.0' | |
gem 'net-imap', '~> 0.2.2' | |
gem 'net-pop', '~> 0.1.1' | |
gem 'puma' # <-追記 | gem 'puma' # <-追記 |
... | ... |
# For running system tests | </code></WRAP> |
# TODO: Remove version specification once Capybara supports Puma 6 | </WRAP> |
#gem 'puma', '< 6.0.0' <- コメントアウト | |
</code> | |
| |
Puma で pid ファイルを tmp/pids に配置している場合はアップグレード時もディレクトリを作成しておかないと Puma が起動不能になる。\\ | Puma で pid ファイルを tmp/pids に配置している場合はアップグレード時もディレクトリを作成しておかないと Puma が起動不能になる。\\ |
<code> | <WRAP color_term> |
| <WRAP color_command><html><pre> |
$ mkdir tmp/pids | $ mkdir tmp/pids |
</code> | </pre></html></WRAP> |
| </WRAP> |
| |
Redmineを実行するために必要なすべてのgemをインストールする。\\ | Redmineを実行するために必要なすべてのgemをインストールする。\\ |
<WRAP prewrap 100%> | <WRAP color_term> |
<code> | <WRAP color_command><html><pre> |
$ bundle install --path vendor/bundle --without development test | $ bundle install --path vendor/bundle --without test |
</code> | </pre></html></WRAP> |
</WRAP> | <WRAP color_result_long><html><pre><span style="color:#A2734C">[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations,</span> |
<WRAP prewrap 100% #result_long> | <span style="color:#A2734C"> which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor/bundle</span> |
<code> | <span style="color:#A2734C">'`, and stop using this flag</span> |
[DEPRECATED] The `--path` 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 path 'vendor/bundle'`, and stop using this flag | <span style="color:#A2734C">[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocatio</span> |
[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'`, and stop using this flag | <span style="color:#A2734C">ns, which bundler will no longer do in future versions. Instead please use `bundle config set without 'develop</span> |
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`. | <span style="color:#A2734C">ment test'`, and stop using this flag</span> |
The dependency ffi (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`. | <span style="color:#A2734C">Your Gemfile lists the gem puma (>= 0) more than once.</span> |
Fetching gem metadata from https://rubygems.org/.......... | <span style="color:#A2734C">You should probably keep only one of them.</span> |
Fetching gem metadata from https://rubygems.org/. | <span style="color:#A2734C">Remove any duplicate entries and specify the gem only once.</span> |
Resolving dependencies... | <span style="color:#A2734C">While it's not a problem now, it could cause errors if you change the version of one of them later.</span> |
Fetching rake 13.0.1 | Fetching gem metadata from https://rubygems.org/......... |
Installing rake 13.0.1 | Resolving dependencies... |
Fetching concurrent-ruby 1.1.6 | <span style="color:#26A269">Fetching rake 13.1.0</span> |
Installing concurrent-ruby 1.1.6 | <span style="color:#26A269">Installing rake 13.1.0</span> |
Fetching i18n 1.6.0 | <span style="color:#26A269">Fetching concurrent-ruby 1.2.3</span> |
Installing i18n 1.6.0 | <span style="color:#26A269">Fetching minitest 5.21.2</span> |
Fetching minitest 5.14.1 | <span style="color:#26A269">Installing concurrent-ruby 1.2.3</span> |
Installing minitest 5.14.1 | <span style="color:#26A269">Installing minitest 5.21.2</span> |
Fetching thread_safe 0.3.6 | <span style="color:#26A269">Fetching zeitwerk 2.6.12</span> |
Installing thread_safe 0.3.6 | <span style="color:#26A269">Fetching builder 3.2.4</span> |
Fetching tzinfo 1.2.7 | <span style="color:#26A269">Installing zeitwerk 2.6.12</span> |
Installing tzinfo 1.2.7 | <span style="color:#26A269">Fetching erubi 1.12.0</span> |
Fetching activesupport 5.2.4.2 | <span style="color:#26A269">Installing builder 3.2.4</span> |
Installing activesupport 5.2.4.2 | <span style="color:#26A269">Fetching racc 1.7.3</span> |
Fetching builder 3.2.4 | <span style="color:#26A269">Installing erubi 1.12.0</span> |
Installing builder 3.2.4 | <span style="color:#26A269">Fetching crass 1.0.6</span> |
Fetching erubi 1.9.0 | <span style="color:#26A269">Installing racc 1.7.3 with native extensions</span> |
Installing erubi 1.9.0 | <span style="color:#26A269">Installing crass 1.0.6</span> |
Fetching mini_portile2 2.4.0 | <span style="color:#26A269">Fetching rack 2.2.8</span> |
Installing mini_portile2 2.4.0 | <span style="color:#26A269">Installing rack 2.2.8</span> |
Fetching nokogiri 1.10.9 | <span style="color:#26A269">Fetching nio4r 2.7.0</span> |
Installing nokogiri 1.10.9 with native extensions | <span style="color:#26A269">Installing nio4r 2.7.0 with native extensions</span> |
Fetching rails-dom-testing 2.0.3 | <span style="color:#26A269">Fetching websocket-extensions 0.1.5</span> |
Installing rails-dom-testing 2.0.3 | <span style="color:#26A269">Installing websocket-extensions 0.1.5</span> |
Fetching crass 1.0.6 | <span style="color:#26A269">Fetching marcel 1.0.2</span> |
Installing crass 1.0.6 | <span style="color:#26A269">Installing marcel 1.0.2</span> |
Fetching loofah 2.6.0 | <span style="color:#26A269">Fetching mini_mime 1.1.5</span> |
Installing loofah 2.6.0 | <span style="color:#26A269">Installing mini_mime 1.1.5</span> |
Fetching rails-html-sanitizer 1.3.0 | <span style="color:#26A269">Fetching date 3.3.4</span> |
Installing rails-html-sanitizer 1.3.0 | <span style="color:#26A269">Installing date 3.3.4 with native extensions</span> |
Fetching actionview 5.2.4.2 | <span style="color:#26A269">Fetching timeout 0.4.1</span> |
Installing actionview 5.2.4.2 | <span style="color:#26A269">Installing timeout 0.4.1</span> |
Fetching rack 2.2.3 | <span style="color:#26A269">Fetching method_source 1.0.0</span> |
Installing rack 2.2.3 | <span style="color:#26A269">Installing method_source 1.0.0</span> |
Fetching rack-test 1.1.0 | <span style="color:#26A269">Fetching thor 1.3.0</span> |
Installing rack-test 1.1.0 | <span style="color:#26A269">Installing thor 1.3.0</span> |
Fetching actionpack 5.2.4.2 | <span style="color:#26A269">Fetching public_suffix 5.0.4</span> |
Installing actionpack 5.2.4.2 | <span style="color:#26A269">Installing public_suffix 5.0.4</span> |
Fetching nio4r 2.5.2 | <span style="color:#26A269">Fetching chunky_png 1.4.0</span> |
Installing nio4r 2.5.2 with native extensions | <span style="color:#26A269">Installing chunky_png 1.4.0</span> |
Fetching websocket-extensions 0.1.5 | <span style="color:#26A269">Fetching commonmarker 0.23.10</span> |
Installing websocket-extensions 0.1.5 | <span style="color:#26A269">Installing commonmarker 0.23.10 with native extensions</span> |
Fetching websocket-driver 0.7.2 | <span style="color:#26A269">Fetching csv 3.2.8</span> |
Installing websocket-driver 0.7.2 with native extensions | <span style="color:#26A269">Installing csv 3.2.8</span> |
Fetching actioncable 5.2.4.2 | <span style="color:#26A269">Fetching htmlentities 4.3.4</span> |
Installing actioncable 5.2.4.2 | <span style="color:#26A269">Installing htmlentities 4.3.4</span> |
Fetching globalid 0.4.2 | <span style="color:#26A269">Fetching mini_magick 4.12.0</span> |
Installing globalid 0.4.2 | <span style="color:#26A269">Installing mini_magick 4.12.0</span> |
Fetching activejob 5.2.4.2 | <span style="color:#26A269">Fetching net-ldap 0.17.1</span> |
Installing activejob 5.2.4.2 | <span style="color:#26A269">Installing net-ldap 0.17.1</span> |
Fetching mini_mime 1.0.2 | <span style="color:#26A269">Fetching pg 1.5.4</span> |
Installing mini_mime 1.0.2 | <span style="color:#26A269">Installing pg 1.5.4 with native extensions</span> |
Fetching mail 2.7.1 | <span style="color:#26A269">Fetching rbpdf-font 1.19.1</span> |
Installing mail 2.7.1 | <span style="color:#26A269">Installing rbpdf-font 1.19.1</span> |
Fetching actionmailer 5.2.4.2 | <span style="color:#26A269">Fetching redcarpet 3.6.0</span> |
Installing actionmailer 5.2.4.2 | <span style="color:#26A269">Installing redcarpet 3.6.0 with native extensions</span> |
Fetching method_source 1.0.0 | <span style="color:#26A269">Fetching rexml 3.2.6</span> |
Installing method_source 1.0.0 | <span style="color:#26A269">Installing rexml 3.2.6</span> |
Fetching thor 1.0.1 | <span style="color:#26A269">Fetching rotp 6.3.0</span> |
Installing thor 1.0.1 | <span style="color:#26A269">Installing rotp 6.3.0</span> |
Fetching railties 5.2.4.2 | <span style="color:#26A269">Fetching rouge 4.2.0</span> |
Installing railties 5.2.4.2 | <span style="color:#26A269">Installing rouge 4.2.0</span> |
Fetching actionpack-xml_parser 2.0.1 | <span style="color:#26A269">Fetching rqrcode_core 1.2.0</span> |
Installing actionpack-xml_parser 2.0.1 | <span style="color:#26A269">Installing rqrcode_core 1.2.0</span> |
Fetching activemodel 5.2.4.2 | <span style="color:#26A269">Fetching rubyzip 2.3.2</span> |
Installing activemodel 5.2.4.2 | <span style="color:#26A269">Installing rubyzip 2.3.2</span> |
Fetching arel 9.0.0 | <span style="color:#26A269">Fetching i18n 1.14.1</span> |
Installing arel 9.0.0 | <span style="color:#26A269">Installing i18n 1.14.1</span> |
Fetching activerecord 5.2.4.2 | <span style="color:#26A269">Fetching tzinfo 2.0.6</span> |
Installing activerecord 5.2.4.2 | <span style="color:#26A269">Installing tzinfo 2.0.6</span> |
Fetching mimemagic 0.3.5 | <span style="color:#26A269">Fetching rack-test 2.1.0</span> |
Installing mimemagic 0.3.5 | <span style="color:#26A269">Installing rack-test 2.1.0</span> |
Fetching marcel 0.3.3 | <span style="color:#26A269">Fetching sprockets 4.2.1</span> |
Installing marcel 0.3.3 | <span style="color:#26A269">Installing sprockets 4.2.1</span> |
Fetching activestorage 5.2.4.2 | <span style="color:#26A269">Fetching request_store 1.5.1</span> |
Installing activestorage 5.2.4.2 | <span style="color:#26A269">Installing request_store 1.5.1</span> |
Fetching public_suffix 4.0.5 | <span style="color:#26A269">Fetching nokogiri 1.15.5 (x86_64-linux)</span> |
Installing public_suffix 4.0.5 | <span style="color:#26A269">Installing nokogiri 1.15.5 (x86_64-linux)</span> |
Fetching addressable 2.7.0 | <span style="color:#26A269">Fetching websocket-driver 0.7.6</span> |
Installing addressable 2.7.0 | <span style="color:#26A269">Installing websocket-driver 0.7.6 with native extensions</span> |
Using bundler 2.1.4 | <span style="color:#26A269">Fetching puma 6.4.2</span> |
Fetching css_parser 1.7.1 | <span style="color:#26A269">Installing puma 6.4.2 with native extensions</span> |
Installing css_parser 1.7.1 | <span style="color:#26A269">Fetching net-protocol 0.2.2</span> |
Fetching csv 3.1.5 | <span style="color:#26A269">Installing net-protocol 0.2.2</span> |
Installing csv 3.1.5 | <span style="color:#26A269">Fetching addressable 2.8.6</span> |
Fetching htmlentities 4.3.4 | <span style="color:#26A269">Installing addressable 2.8.6</span> |
Installing htmlentities 4.3.4 | <span style="color:#26A269">Fetching rbpdf 1.21.3</span> |
Fetching mini_magick 4.9.5 | <span style="color:#26A269">Installing rbpdf 1.21.3</span> |
Installing mini_magick 4.9.5 | <span style="color:#26A269">Fetching rqrcode 2.2.0</span> |
Fetching net-ldap 0.16.2 | <span style="color:#26A269">Installing rqrcode 2.2.0</span> |
Installing net-ldap 0.16.2 | <span style="color:#26A269">Fetching activesupport 6.1.7.6</span> |
Fetching pg 1.1.4 | <span style="color:#26A269">Installing activesupport 6.1.7.6</span> |
Installing pg 1.1.4 with native extensions | <span style="color:#26A269">Fetching loofah 2.22.0</span> |
Fetching ruby-openid 2.9.2 | <span style="color:#26A269">Installing loofah 2.22.0</span> |
Installing ruby-openid 2.9.2 | <span style="color:#26A269">Fetching sanitize 6.1.0</span> |
Fetching rack-openid 1.4.2 | <span style="color:#26A269">Installing sanitize 6.1.0</span> |
Installing rack-openid 1.4.2 | <span style="color:#26A269">Fetching net-imap 0.3.7</span> |
Fetching sprockets 4.0.2 | <span style="color:#26A269">Installing net-imap 0.3.7</span> |
Installing sprockets 4.0.2 | <span style="color:#26A269">Fetching net-pop 0.1.2</span> |
Fetching sprockets-rails 3.2.1 | <span style="color:#26A269">Installing net-pop 0.1.2</span> |
Installing sprockets-rails 3.2.1 | <span style="color:#26A269">Fetching net-smtp 0.3.4</span> |
Fetching rails 5.2.4.2 | <span style="color:#26A269">Installing net-smtp 0.3.4</span> |
Installing rails 5.2.4.2 | <span style="color:#26A269">Fetching css_parser 1.16.0</span> |
Fetching rbpdf-font 1.19.1 | <span style="color:#26A269">Installing css_parser 1.16.0</span> |
Installing rbpdf-font 1.19.1 | <span style="color:#26A269">Fetching rails-dom-testing 2.2.0</span> |
Fetching rbpdf 1.20.1 | <span style="color:#26A269">Installing rails-dom-testing 2.2.0</span> |
Installing rbpdf 1.20.1 | <span style="color:#26A269">Fetching globalid 1.2.1</span> |
Fetching redcarpet 3.5.0 | <span style="color:#26A269">Installing globalid 1.2.1</span> |
Installing redcarpet 3.5.0 with native extensions | <span style="color:#26A269">Fetching activemodel 6.1.7.6</span> |
Fetching request_store 1.4.1 | <span style="color:#26A269">Installing activemodel 6.1.7.6</span> |
Installing request_store 1.4.1 | <span style="color:#26A269">Fetching html-pipeline 2.13.2</span> |
Fetching roadie 4.0.0 | <span style="color:#26A269">Installing html-pipeline 2.13.2</span> |
Installing roadie 4.0.0 | <span style="color:#26A269">Fetching rails-html-sanitizer 1.6.0</span> |
Fetching roadie-rails 2.1.1 | <span style="color:#26A269">Installing rails-html-sanitizer 1.6.0</span> |
Installing roadie-rails 2.1.1 | <span style="color:#26A269">Fetching mail 2.8.1</span> |
Fetching rouge 3.12.0 | <span style="color:#26A269">Installing mail 2.8.1</span> |
Installing rouge 3.12.0 | <span style="color:#26A269">Fetching roadie 5.2.0</span> |
Bundle complete! 31 Gemfile dependencies, 59 gems now installed. | <span style="color:#26A269">Installing roadie 5.2.0</span> |
Gems in the groups development and test were not installed. | <span style="color:#26A269">Fetching activejob 6.1.7.6</span> |
Bundled gems are installed into `./vendor/bundle` | <span style="color:#26A269">Installing activejob 6.1.7.6</span> |
Post-install message from i18n: | <span style="color:#26A269">Fetching activerecord 6.1.7.6</span> |
| <span style="color:#26A269">Installing activerecord 6.1.7.6</span> |
| <span style="color:#26A269">Fetching deckar01-task_list 2.3.2</span> |
| <span style="color:#26A269">Installing deckar01-task_list 2.3.2</span> |
| <span style="color:#26A269">Fetching actionview 6.1.7.6</span> |
| <span style="color:#26A269">Installing actionview 6.1.7.6</span> |
| <span style="color:#26A269">Fetching actionpack 6.1.7.6</span> |
| <span style="color:#26A269">Installing actionpack 6.1.7.6</span> |
| <span style="color:#26A269">Fetching actioncable 6.1.7.6</span> |
| <span style="color:#26A269">Installing actioncable 6.1.7.6</span> |
| <span style="color:#26A269">Fetching activestorage 6.1.7.6</span> |
| <span style="color:#26A269">Installing activestorage 6.1.7.6</span> |
| <span style="color:#26A269">Fetching actionmailer 6.1.7.6</span> |
| <span style="color:#26A269">Installing actionmailer 6.1.7.6</span> |
| <span style="color:#26A269">Fetching railties 6.1.7.6</span> |
| <span style="color:#26A269">Installing railties 6.1.7.6</span> |
| <span style="color:#26A269">Fetching sprockets-rails 3.4.2</span> |
| <span style="color:#26A269">Installing sprockets-rails 3.4.2</span> |
| <span style="color:#26A269">Fetching actionmailbox 6.1.7.6</span> |
| <span style="color:#26A269">Installing actionmailbox 6.1.7.6</span> |
| <span style="color:#26A269">Fetching actiontext 6.1.7.6</span> |
| <span style="color:#26A269">Installing actiontext 6.1.7.6</span> |
| <span style="color:#26A269">Fetching actionpack-xml_parser 2.0.1</span> |
| <span style="color:#26A269">Installing actionpack-xml_parser 2.0.1</span> |
| <span style="color:#26A269">Fetching roadie-rails 3.1.0</span> |
| <span style="color:#26A269">Installing roadie-rails 3.1.0</span> |
| <span style="color:#26A269">Fetching rails 6.1.7.6</span> |
| <span style="color:#26A269">Installing rails 6.1.7.6</span> |
| <span style="color:#26A269">Bundle complete! 42 Gemfile dependencies, 74 gems now installed.</span> |
| <span style="color:#26A269">Gems in the groups 'development' and 'test' were not installed.</span> |
| <span style="color:#26A269">Bundled gems are installed into `./vendor/bundle`</span> |
| <span style="color:#26A269">Post-install message from html-pipeline:</span> |
| ------------------------------------------------- |
| Thank you for installing html-pipeline! |
| You must bundle Filter gem dependencies. |
| See html-pipeline README.md for more details. |
| https://github.com/jch/html-pipeline#dependencies |
| ------------------------------------------------- |
| <span style="color:#26A269">Post-install message from rubyzip:</span> |
| RubyZip 3.0 is coming! |
| ********************** |
| |
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. | The public API of some Rubyzip classes has been modernized to use named |
But that may break your application. | parameters for optional arguments. Please check your usage of the |
| following classes: |
| * `Zip::File` |
| * `Zip::Entry` |
| * `Zip::InputStream` |
| * `Zip::OutputStream` |
| |
Please check your Rails app for 'config.i18n.fallbacks = true'. | Please ensure that your Gemfiles and .gemspecs are suitably restrictive |
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be | to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0). |
'config.i18n.fallbacks = [I18n.default_locale]'. | See https://github.com/rubyzip/rubyzip for details. The Changelog also |
If not, fallbacks will be broken in your app by I18n 1.1.x. | lists other enhancements and bugfixes that have been implemented since |
| version 2.3.0. |
For more info see: | </pre></html></WRAP> |
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 | |
</code> | |
</WRAP> | </WRAP> |
| |
<code> | <code> |
$ cp -rf /var/www/vhosts/redmine.tomoyan.net/redmine/plugins . | $ cp -rf /var/www/vhosts/redmine.tomoyan.net/redmine/plugins . |
| </code> |
| |
| == scm adapters を移行する == |
| [[https://www.redmine.org/issues/33784]]\\ |
| |
| 現在動いている Redmine から redminehelper.py をコピーする。 |
| <code> |
| $ cp -f /var/www/vhosts/redmine.tomoyan.net/redmine/lib/redmine/scm/adapters/mercurial/redminehelper.py ./lib/redmine/scm/adapters/mercurial/redminehelper.py |
</code> | </code> |
| |
$ cp /var/www/vhosts/redmine.tomoyan.net/redmine/config/configuration.yml config/configuration.yml | $ cp /var/www/vhosts/redmine.tomoyan.net/redmine/config/configuration.yml config/configuration.yml |
</code> | </code> |
| </WRAP> |
| |
| == Puma の場合 == |
| 設定ファイルをコピーする。 |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| $ cp /var/www/vhosts/redmine.tomoyan.net/redmine/config/puma.rb config/puma.rb |
| </pre></html></WRAP> |
</WRAP> | </WRAP> |
| |
<code> | <code> |
$ cd ~ | $ cd ~ |
$ mv /home/redmine/redmine-5.0.4 /var/www/vhosts/redmine.tomoyan.net/redmine | $ mv /home/redmine/redmine-5.1.1 /var/www/vhosts/redmine.tomoyan.net/redmine |
$ chown redmine:redmine /var/www/vhosts/redmine.tomoyan.net/redmine -R | $ chown redmine:redmine /var/www/vhosts/redmine.tomoyan.net/redmine -R |
</code> | </code> |
※ Passenger は __config/environment.rb ファイルのオーナー__でアプリを実行する。 | ※ Passenger は __config/environment.rb ファイルのオーナー__でアプリを実行する。 |
| |
=== Passenger も最新化する === | |
| === Passenger の場合は最新化する === |
Redmine を実行するために使う Phusion Passenger をインストールする。\\ | Redmine を実行するために使う Phusion Passenger をインストールする。\\ |
<code> | <code> |
==== Passenger のインストール時のビルドで固まる場合 ==== | ==== Passenger のインストール時のビルドで固まる場合 ==== |
おそらく OS の仮想メモリーが足りていないので、仮想メモリーを増やすために設定を変更する。\\ | おそらく OS の仮想メモリーが足りていないので、仮想メモリーを増やすために設定を変更する。\\ |
[[linux:fedora_extend_zram_swap|Fedora 33 以降で標準になった ZRAM スワップの容量を拡張する]]\\ | [[linux:fedora:extend_zram_swap|Fedora 33 以降で標準になった ZRAM スワップの容量を拡張する]]\\ |
| |
ssh セッションを [[linux:tmux|]] で保護していても、tmux のセッションもご臨終する😅💦\\ | ssh セッションを [[linux:tmux|]] で保護していても、tmux のセッションもご臨終する😅💦\\ |
[[tw>tomoyan596sp/status/1514414338697674753|社内用 Redmine を先日こっそり Passenger から Puma に切り替えましたけど、今日はこれから Redmine 5 に移行してみます😊]]\\ | [[tw>tomoyan596sp/status/1514414338697674753|社内用 Redmine を先日こっそり Passenger から Puma に切り替えましたけど、今日はこれから Redmine 5 に移行してみます😊]]\\ |
[[tw>tomoyan596sp/status/1549913605570965504|RedmineとGitHub連携、Webhooksでできるのか🤔]]\\ | [[tw>tomoyan596sp/status/1549913605570965504|RedmineとGitHub連携、Webhooksでできるのか🤔]]\\ |
| [[tw>tomoyan596sp/status/1752354789978251341|Updating Mercurial helper to work with Python3 https://t.co/N3qHJN3tZ5 Mercurial helperはPython3対応中みたい😅]]\\ |
| |