ruby:redmine:redmine_install

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ruby:redmine:redmine_install [2022/07/24 17:33] – [Ruby のインストール] ともやんruby:redmine:redmine_install [2022/07/25 06:23] (現在) – [rbenv でインストールに失敗する] ともやん
行 2538: 行 2538:
 anyenv をインストールして、Redmine の動作環境に合わせたバージョンの Ruby をインストールする😉\\ anyenv をインストールして、Redmine の動作環境に合わせたバージョンの Ruby をインストールする😉\\
 ※これは Ruby バージョンを OS のパッケージバージョンに影響を受けないようにするのが目的である🤔\\ ※これは Ruby バージョンを OS のパッケージバージョンに影響を受けないようにするのが目的である🤔\\
- Ruby バージョンを固定しておかないと、OS のパッケージ更新に影響を受けて Redmine が動作しなくなる可能性がある😱😭\\+ Ruby バージョンを固定しておかないと、OS のパッケージ更新に影響を受けて <wrap em>Redmine が動作しなくなる可能性</wrap>がある😱😭\\
 [[linux:anyenv|anyenv - rbenv スタイルのオールインワン環境マネージャー]]\\ [[linux:anyenv|anyenv - rbenv スタイルのオールインワン環境マネージャー]]\\
  
行 2553: 行 2553:
  
 rbenv でインストール可能な ruby バージョンを調べる。\\ rbenv でインストール可能な ruby バージョンを調べる。\\
 +
 +
 +参考: [[ruby:ruby_install|Ruby のインストール]] (anyenv 以外の Ruby のインストール方法)\\
 +
 +===== Web サーバーのインストール =====
 +[[linux:httpd:install|Apache のインストール]]\\
 +
 +===== データベース サーバーのインストール =====
 +[[linux:postgresql|PostgreSQL(Linux)]]\\
 +
 +===== 依存パッケージのインストール =====
 +
 +==== 開発ツール(Cコンパイラ等)のインストール ====
 +<code>
 +$ sudo dnf groupinstall "Development Tools"
 +$ sudo dnf install gcc-c++
 +</code>
 +
 +==== Passengerのビルドに必要なヘッダファイルなどのインストール ====
 +<code>
 +$ sudo dnf install ruby-devel openssl-devel readline-devel zlib-devel curl-devel libyaml-devel libffi-devel
 +</code>
 +
 +==== PostgreSQL とヘッダファイルのインストール ====
 +<code>
 +$ sudo dnf install postgresql-server postgresql-devel
 +</code>
 +
 +==== ImageMagickとヘッダファイル・日本語フォントのインストール ====
 +<code>
 +$ sudo dnf install ImageMagick7 ImageMagick7-devel ipa-pgothic-fonts --enablerepo=remi
 +</code>
 +or\\
 +<code>
 +$ sudo dnf install ImageMagick ImageMagick-devel ipa-pgothic-fonts
 +</code>
 +
 +===== 空のデータベースとユーザーの作成 =====
 +
 +==== 空のデータベースの作成 ====
 +データベース ユーザーを作成する。\\
 +<code>
 +$ psql -U postgres
 +psql (10.6)
 +"help" でヘルプを表示します。
 +
 +postgres=# CREATE ROLE redmine LOGIN ENCRYPTED PASSWORD 'password' NOINHERIT VALID UNTIL 'infinity';
 +CREATE ROLE
 +</code>
 +データベースを作成する。\\
 +<code>
 +postgres=# CREATE DATABASE redmine_db WITH ENCODING='UTF8' OWNER=redmine;
 +CREATE DATABASE
 +</code>
 +データベースの日付形式をISO(PostgreSQLのデフォルト)に設定する。\\
 +<code>
 +postgres=# ALTER DATABASE "redmine_db" SET datestyle="ISO,MDY";
 +ALTER DATABASE
 +postgres=# \q
 +</code>
 +
 +===== データベース接続設定 =====
 +<code>
 +$ cd redmine-4.2.1
 +$ cp config/database.yml.example config/database.yml
 +$ nano config/database.yml
 +</code>
 +
 +**データベース接続設定の例(PostgreSQL)**\\
 +<WRAP prewrap 100% mincode>
 +<code autoconf config/database.yml>
 +production:
 +  adapter: postgresql
 +  database: redmine_db
 +  host: localhost
 +  username: redmine
 +  password: "password"
 +  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
 +  encoding: utf8
 +
 +development:
 +#  adapter: mysql2
 +
 +test:
 +#  adapter: mysql2
 +</code>
 +</WRAP>
 +
 +**データベース接続設定全体**\\
 +<WRAP prewrap 100% mincode_long>
 +<code autoconf config/database.yml>
 +# Default setup is given for MySQL 5.7.7 or later.
 +# Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end.
 +# Line indentation must be 2 spaces (no tabs).
 +
 +production:
 +  adapter: postgresql
 +  database: redmine_db
 +  host: localhost
 +  username: redmine
 +  password: "password"
 +  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
 +  encoding: utf8
 +
 +development:
 +#  adapter: mysql2
 +  database: redmine_development
 +  host: localhost
 +  username: root
 +  password: ""
 +  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
 +  encoding: utf8mb4
 +
 +# Warning: The database defined as "test" will be erased and
 +# re-generated from your development database when you run "rake".
 +# Do not set this db to the same as development or production.
 +test:
 +#  adapter: mysql2
 +  database: redmine_test
 +  host: localhost
 +  username: root
 +  password: ""
 +  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
 +  encoding: utf8mb4
 +
 +# PostgreSQL configuration example
 +#production:
 +#  adapter: postgresql
 +#  database: redmine
 +#  host: localhost
 +#  username: postgres
 +#  password: "postgres"
 +
 +# SQLite3 configuration example
 +#production:
 +#  adapter: sqlite3
 +#  database: db/redmine.sqlite3
 +
 +# SQL Server configuration example
 +#production:
 +#  adapter: sqlserver
 +#  database: redmine
 +#  host: localhost
 +#  username: jenkins
 +#  password: jenkins
 +</code>
 +</WRAP>
 +※ **mysql2** を使う予定が無い場合、$ <html><code>bundle config set without 'development test'</code></html> を実行しても **Gemfile** の中で全ての **adapter** の設定状況を判断して **mysql2** をビルドしようとしてエラーになるので、**development test** ともに **adapter: mysql2** をコメントアウトする。\\
 +<WRAP prewrap 100% mincode>
 +<code ruby Gemfile>
 +# Include database gems for the adapters found in the database
 +# configuration file
 +require 'erb'
 +require 'yaml'
 +database_file = File.join(File.dirname(__FILE__), "config/database.yml")
 +if File.exist?(database_file)
 +  database_config = YAML::load(ERB.new(IO.read(database_file)).result)
 +  adapters = database_config.values.map {|c| c['adapter']}.compact.uniq
 +  if adapters.any?
 +    adapters.each do |adapter|
 +      case adapter
 +      when 'mysql2'
 +        gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw]
 +      when /postgresql/
 +        gem "pg", "~> 1.2.2", :platforms => [:mri, :mingw, :x64_mingw]
 +</code>
 +</WRAP>
 +※ **mysql2** の場合は **encoding: utfmb4** で寿司ビール🍣🍺問題に対応する。\\
 +[[https://techracho.bpsinc.jp/hachi8833/2020_11_26/25044|MySQLのencodingをutf8からutf8mb4に変更して寿司ビール問題に対応する|TechRacho(テックラッチョ)〜エンジニアの「?」を「!」に〜|BPS株式会社]]\\
 +[[qita>kamohicokamo/items/3cc05f63a90148525caf|寿司ビール問題① 初心者→中級者へのSTEP20/25 - Qiita]]\\
 +
 +===== メールとその他各種設定 =====
 +Redmine からメールサーバへ接続するための設定や日本語フォントファイルのパスを記述した設定ファイルを作成する。\\
 +<code>
 +$ cd redmine-4.2.1
 +$ cp config/configuration.yml.example config/configuration.yml
 +$ nano config/configuration.yml
 +</code>
 +
 +**設定ファイルの設定例(localhost sendmail)**\\
 +<WRAP prewrap 100% mincode>
 +<code autoconf config/configuration.yml>
 +# specific configuration options for production environment
 +# that overrides the default ones
 +production:
 +  email_delivery:
 +    delivery_method: :smtp
 +    smtp_settings:
 +      address: "localhost"
 +      port: 25
 +      domain: "redmine.tomoyan.net"
 +
 +  rmagick_font_path: /usr/share/fonts/ipa-pgothic/ipagp.ttf
 +</code>
 +</WRAP>
 +
 +**設定ファイルの設定例(gmail)**\\
 +<WRAP prewrap 100% mincode>
 +<code autoconf config/configuration.yml>
 +# specific configuration options for production environment
 +# that overrides the default ones
 +production:
 +  email_delivery:
 +    delivery_method: :smtp
 +    smtp_settings:
 +      enable_starttls_auto: true
 +      address: "smtp.gmail.com"
 +      port: 587
 +      domain: "redmine.tomoyan.net"
 +      authentication: :login
 +      user_name: "redmine@redmine.tomoyan.net"
 +      password: "gmail no password!"
 +
 +  rmagick_font_path: /usr/share/fonts/ipa-pgothic/ipagp.ttf
 +</code>
 +</WRAP>
 +※gmail でメール通知を行う場合、送信を行う Google アカウントで以下の設定を行う。\\
 + メール クライアントの設定 (例: Outlook、Eudora、Netscape Mail)\\
 + [[https://support.google.com/mail/answer/12103?hl=ja&authuser=5|設定手順]]\\
 +  * 歯車→[すべての設定を表示]→[メール転送と POP/IMAP] タブ→[POP ダウンロード] で、[すべてのメールで POP を有効にする] または [今後受信するメールで POP を有効にする] を選択する。\\
 +  * 更に、2 段階認証プロセスを使用している場合は、[[https://support.google.com/accounts/answer/185833|アプリ パスワード]]を使ってログイン、2 段階認証プロセスを使用していない場合は、[[https://support.google.com/accounts/answer/6010255|安全性の低いアプリがアカウントにアクセスすることを許可]]する必要がある。\\ これらの設定が適切ではない場合、「<wrap em>535-5.7.8 Username and Password not accepted. Learn more at</wrap>」エラーで「テストメールを送信」 に失敗する😱\\ 更に、正常にメールが送信されても、今度は<wrap em>受信側で迷惑メールフォルダに入るので、該当メールアドレスをアドレス帳に登録する</wrap>必要がある😅\\ <del>めんどくさいから</del>別の方法を検討する余地あり😇\\
 +
 +**メールの通知テスト**\\
 +「管理」→「設定」で「メール通知」タブより、画面左下の「テストメールを送信」をクリックする。\\
 +
 +**設定ファイル全体**\\
 +<WRAP prewrap 100% mincode_long>
 +<code autoconf config/configuration.yml>
 +# = Redmine configuration file
 +#
 +# Each environment has its own configuration options.  If you are only
 +# running in production, only the production block needs to be configured.
 +# Environment specific configuration options override the default ones.
 +#
 +# Note that this file needs to be a valid YAML file.
 +# DO NOT USE TABS! Use 2 spaces instead of tabs for indentation.
 +
 +# default configuration options for all environments
 +default:
 +  # Outgoing emails configuration
 +  # See the examples below and the Rails guide for more configuration options:
 +  # http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
 +  email_delivery:
 +
 +  # ==== Simple SMTP server at localhost
 +  #
 +  #  email_delivery:
 +  #    delivery_method: :smtp
 +  #    smtp_settings:
 +  #      address: "localhost"
 +  #      port: 25
 +  #
 +  # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com
 +  #
 +  #  email_delivery:
 +  #    delivery_method: :smtp
 +  #    smtp_settings:
 +  #      address: "example.com"
 +  #      port: 25
 +  #      authentication: :login
 +  #      domain: 'foo.com'
 +  #      user_name: 'myaccount'
 +  #      password: 'password'
 +  #
 +  # ==== SMTP server at example.com using PLAIN authentication
 +  #
 +  #  email_delivery:
 +  #    delivery_method: :smtp
 +  #    smtp_settings:
 +  #      address: "example.com"
 +  #      port: 25
 +  #      authentication: :plain
 +  #      domain: 'example.com'
 +  #      user_name: 'myaccount'
 +  #      password: 'password'
 +  #
 +  # ==== SMTP server at using TLS (GMail)
 +  # This might require some additional configuration. See the guides at:
 +  # http://www.redmine.org/projects/redmine/wiki/EmailConfiguration
 +  #
 +  #  email_delivery:
 +  #    delivery_method: :smtp
 +  #    smtp_settings:
 +  #      enable_starttls_auto: true
 +  #      address: "smtp.gmail.com"
 +  #      port: 587
 +  #      domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps
 +  #      authentication: :plain
 +  #      user_name: "your_email@gmail.com"
 +  #      password: "your_password"
 +  #
 +  # ==== Sendmail command
 +  #
 +  #  email_delivery:
 +  #    delivery_method: :sendmail
 +
 +  # Absolute path to the directory where attachments are stored.
 +  # The default is the 'files' directory in your Redmine instance.
 +  # Your Redmine instance needs to have write permission on this
 +  # directory.
 +  # Examples:
 +  # attachments_storage_path: /var/redmine/files
 +  # attachments_storage_path: D:/redmine/files
 +  attachments_storage_path:
 +
 +  # Configuration of the autologin cookie.
 +  # autologin_cookie_name: the name of the cookie (default: autologin)
 +  # autologin_cookie_path: the cookie path (default: /)
 +  # autologin_cookie_secure: true sets the cookie secure flag (default: false)
 +  autologin_cookie_name:
 +  autologin_cookie_path:
 +  autologin_cookie_secure:
 +
 +  # Configuration of SCM executable command.
 +  #
 +  # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
 +  # On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
 +  #
 +  # On Windows + JRuby 1.6.2, path which contains spaces does not work.
 +  # For example, "C:\Program Files\TortoiseHg\hg.exe".
 +  # If you want to this feature, you need to install to the path which does not contains spaces.
 +  # For example, "C:\TortoiseHg\hg.exe".
 +  #
 +  # Examples:
 +  # scm_subversion_command: svn                                       # (default: svn)
 +  # scm_mercurial_command:  C:\Program Files\TortoiseHg\hg.exe        # (default: hg)
 +  # scm_git_command:        /usr/local/bin/git                        # (default: git)
 +  # scm_cvs_command:        cvs                                       # (default: cvs)
 +  # scm_bazaar_command:     bzr.exe                                   # (default: bzr)
 +  #
 +  scm_subversion_command:
 +  scm_mercurial_command:
 +  scm_git_command:
 +  scm_cvs_command:
 +  scm_bazaar_command:
 +
 +  # SCM paths validation.
 +  #
 +  # You can configure a regular expression for each SCM that will be used to
 +  # validate the path of new repositories (eg. path entered by users with the
 +  # "Manage repositories" permission and path returned by reposman.rb).
 +  # The regexp will be wrapped with \A \z, so it must match the whole path.
 +  # And the regexp is case sensitive.
 +  #
 +  # You can match the project identifier by using %project% in the regexp.
 +  #
 +  # You can also set a custom hint message for each SCM that will be displayed
 +  # on the repository form instead of the default one.
 +  #
 +  # Examples:
 +  # scm_subversion_path_regexp: file:///svnpath/[a-z0-9_]+
 +  # scm_subversion_path_info: SVN URL (eg. file:///svnpath/foo)
 +  #
 +  # scm_git_path_regexp: /gitpath/%project%(\.[a-z0-9_])?/
 +  #
 +  scm_subversion_path_regexp:
 +  scm_mercurial_path_regexp:
 +  scm_git_path_regexp:
 +  scm_cvs_path_regexp:
 +  scm_bazaar_path_regexp:
 +  scm_filesystem_path_regexp:
 +
 +  # Absolute path to the SCM commands errors (stderr) log file.
 +  # The default is to log in the 'log' directory of your Redmine instance.
 +  # Example:
 +  # scm_stderr_log_file: /var/log/redmine_scm_stderr.log
 +  scm_stderr_log_file:
 +
 +  # Key used to encrypt sensitive data in the database (SCM passwords,
 +  # LDAP passwords, and TOTP (two-factor authentication) secret keys).
 +  # If you don't want to enable data encryption, just leave it blank.
 +  # WARNING: losing/changing this key will make encrypted data unreadable.
 +  #
 +  # If you want to encrypt existing data in your database:
 +  # * set the cipher key here in your configuration file
 +  # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
 +  #
 +  # If you have encrypted data and want to change this key, you have to:
 +  # * decrypt data using 'rake db:decrypt RAILS_ENV=production' first
 +  # * change the cipher key here in your configuration file
 +  # * encrypt data using 'rake db:encrypt RAILS_ENV=production'
 +  database_cipher_key:
 +
 +  # Set this to false to disable plugins' assets mirroring on startup.
 +  # You can use `rake redmine:plugins:assets` to manually mirror assets
 +  # to public/plugin_assets when you install/upgrade a Redmine plugin.
 +  #
 +  #mirror_plugins_assets_on_startup: false
 +
 +  # Your secret key for verifying cookie session data integrity. If you
 +  # change this key, all old sessions will become invalid! Make sure the
 +  # secret is at least 30 characters and all random, no regular words or
 +  # you'll be exposed to dictionary attacks.
 +  #
 +  # If you have a load-balancing Redmine cluster, you have to use the
 +  # same secret token on each machine.
 +  #secret_token: 'change it to a long random string'
 +
 +  # Requires users to re-enter their password for sensitive actions (editing
 +  # of account data, project memberships, application settings, user, group,
 +  # role, auth source management and project deletion). Disabled by default.
 +  # Timeout is set in minutes.
 +  #
 +  #sudo_mode: true
 +  #sudo_mode_timeout: 15
 +
 +  # Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
 +  # the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
 +  #imagemagick_convert_command:
 +
 +  # Absolute path (e.g. /usr/bin/gs, c:/ghostscript/gs.exe) to
 +  # the `gs` binary. Used to generate attachment thumbnails of PDF files.
 +  #gs_command:
 +
 +  # Configuration of MiniMagick font.
 +  #
 +  # Redmine uses MiniMagick in order to export a gantt chart to a PNG image.
 +  # This setting is necessary to properly display CJK (Chinese, Japanese,
 +  # and Korean) characters in the PNG image. Please make sure that the
 +  # specified font is installed in the Redmine server.
 +  #
 +  # This setting is necessary only when CJK characters are used in gantt.
 +  #
 +  # Note that rmagick_font_path in prior to Redmine 4.1.0 has been renamed
 +  # to minimagick_font_path.
 +  #
 +  # Examples for Japanese:
 +  #   Windows:
 +  #     minimagick_font_path: C:\windows\fonts\msgothic.ttc
 +  #   Linux:
 +  #     minimagick_font_path: /usr/share/fonts/ipa-mincho/ipam.ttf
 +  #
 +  minimagick_font_path:
 +
 +  # Maximum number of simultaneous AJAX uploads
 +  #max_concurrent_ajax_uploads: 2
 +
 +  # Configure OpenIdAuthentication.store
 +  #
 +  # allowed values: :memory, :file, :memcache
 +  #openid_authentication_store: :memory
 +
 +  # URL of the avatar server
 +  #
 +  # By default, Redmine uses Gravatar as the avatar server for displaying
 +  # user icons. You can switch to another Gravatar-compatible server such
 +  # as Libravatar and opensource servers listed on
 +  # https://wiki.libravatar.org/running_your_own/
 +  #
 +  # URL of each avatar is: #{avatar_server_url}/avatar/#{hash}
 +  #
 +  #avatar_server_url: https://www.gravatar.com        # default
 +  #avatar_server_url: https://seccdn.libravatar.org
 +
 +# specific configuration options for production environment
 +# that overrides the default ones
 +production:
 +  email_delivery:
 +    delivery_method: :smtp
 +    smtp_settings:
 +      enable_starttls_auto: true
 +      address: "smtp.gmail.com"
 +      port: 587
 +      domain: "redmine.tomoyan.net"
 +      authentication: :login
 +      user_name: "redmine@redmine.tomoyan.net"
 +      password: "gmail no password!"
 +
 +  rmagick_font_path: /usr/share/fonts/ipa-pgothic/ipagp.ttf
 +
 +# specific configuration options for development environment
 +# that overrides the default ones
 +development:
 +</code>
 +</WRAP>
 +
 +===== トラブルシューティング =====
 +
 +==== rbenv で Ruby のビルドに失敗する ====
 +ruby-build が古い場合にビルドに失敗する😱😭\\
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
行 2587: 行 3067:
 make[1]: ディレクトリ '/var/tmp/ruby-build.20220724135330.1056263.RbmKAS/ruby-3.0.2' から出ます make[1]: ディレクトリ '/var/tmp/ruby-build.20220724135330.1056263.RbmKAS/ruby-3.0.2' から出ます
 make: *** [uncommon.mk:300: build-ext] エラー 2 make: *** [uncommon.mk:300: build-ext] エラー 2
- 
-$ rbenv rehash 
-$ rbenv global 2.6.8 
-$ ruby -v 
-ruby 2.6.8p205 (2021-07-07 revision 67951) [x86_64-linux] 
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
行 7731: 行 8206:
 </WRAP> </WRAP>
  
-[[ruby:ruby_install|Ruby のインストール]]\\+rbenv がインストール可能なリストを表示して、そ一覧に存在しないバージョン指定してインストールしようとすると、ruby-build のアップグレードを試すよう指示される🤔\\ 
 +(このアップグレード指示は ruby-build がビルドエラーになった場合にも指示してくれた方が助かるのだが...😅)\\ 
 +<WRAP color_term> 
 +<WRAP color_command><html><pre> 
 +$ rbenv install --list | column -x -c 128 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre>
  
-===== Web サーバーのインストール ===== +Only latest stable releases for each Ruby implementation are shown. 
-[[linux:httpd:install|Apache のインストール]]\\+Use 'rbenv install --list-all / -L' to show all local versions. 
 +2.6.8                           2.7.4                           3.0.2                           jruby-9.2.19.0 
 +mruby-3.0.0                     rbx-5.0                         truffleruby-21.2.0              truffleruby+graalvm-21.2.0 
 +</pre></html></WRAP>
  
-===== データベース サーバーのインストール ===== +<WRAP color_command><html><pre> 
-[[linux:postgresql|PostgreSQL(Linux)]]\\+$ TMPDIR=/var/tmp rbenv install 3.1.2 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre> 
 +ruby-build: definition not found3.1.2
  
-===== 依存パッケージのインストール =====+See all available versions with `rbenv install --list'.
  
-==== 開発ツール(Cコンパイラ等)のインストール ==== +If the version you need is missing, try upgrading ruby-build:
-<code> +
-$ sudo dnf groupinstall "Development Tools" +
-$ sudo dnf install gcc-c++ +
-</code>+
  
-==== Passengerのビルドに必要なヘッダファイルなどのインストール ==== +  git -/home/redmine/.anyenv/envs/rbenv/plugins/ruby-build pull 
-<code> +</pre></html></WRAP>
-$ sudo dnf install ruby-devel openssl-devel readline-devel zlib-devel curl-devel libyaml-devel libffi-devel +
-</code> +
- +
-==== PostgreSQL とヘッダファイルのインストール ==== +
-<code> +
-$ sudo dnf install postgresql-server postgresql-devel +
-</code> +
- +
-==== ImageMagickとヘッダファイル・日本語フォントのインストール ==== +
-<code> +
-$ sudo dnf install ImageMagick7 ImageMagick7-devel ipa-pgothic-fonts --enablerepo=remi +
-</code> +
-or\\ +
-<code> +
-$ sudo dnf install ImageMagick ImageMagick-devel ipa-pgothic-fonts +
-</code> +
- +
-===== 空のデータベースとユーザーの作成 ===== +
- +
-==== 空のデータベースの作成 ==== +
-データベース ユーザーを作成する。\\ +
-<code> +
-$ psql -U postgres +
-psql (10.6) +
-"help" でヘルプを表示します。 +
- +
-postgres=# CREATE ROLE redmine LOGIN ENCRYPTED PASSWORD 'password' NOINHERIT VALID UNTIL 'infinity'; +
-CREATE ROLE +
-</code> +
-データベースを作成する。\\ +
-<code> +
-postgres=# CREATE DATABASE redmine_db WITH ENCODING='UTF8' OWNER=redmine; +
-CREATE DATABASE +
-</code> +
-データベースの日付形式をISO(PostgreSQLのデフォルト)に設定する。\\ +
-<code> +
-postgres=# ALTER DATABASE "redmine_db" SET datestyle="ISO,MDY"; +
-ALTER DATABASE +
-postgres=# \q +
-</code> +
- +
-===== データベース接続設定 ===== +
-<code> +
-$ cd redmine-4.2.1 +
-$ cp config/database.yml.example config/database.yml +
-$ nano config/database.yml +
-</code> +
- +
-**データベース接続設定の例(PostgreSQL)**\\ +
-<WRAP prewrap 100% mincode> +
-<code autoconf config/database.yml> +
-production: +
-  adapter: postgresql +
-  database: redmine_db +
-  host: localhost +
-  username: redmine +
-  password: "password" +
-  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7 +
-  encoding: utf8 +
- +
-development: +
-#  adapter: mysql2 +
- +
-test: +
-#  adapter: mysql2 +
-</code>+
 </WRAP> </WRAP>
  
-**デタベース接続設定全体**\\ +指示に従って ruby-build をアップグレドする😃\\ 
-<WRAP prewrap 100% mincode_long+<WRAP color_term
-<code autoconf config/database.yml+<WRAP color_command><html><pre> 
-# Default setup is given for MySQL 5.7.7 or later+$ git -C /home/redmine/.anyenv/envs/rbenv/plugins/ruby-build pull 
-# Examples for PostgreSQLSQLite3 and SQL Server can be found at the end+</pre></html></WRAP
-# Line indentation must be 2 spaces (no tabs). +<WRAP color_result_long><html><pre> 
- +remote: Enumerating objects: 1346, done
-production+remote: Counting objects: 100% (1009/1009)done
-  adapterpostgresql +remote: Compressing objects: 100% (144/144), done
-  databaseredmine_db +remote: Total 1346 (delta 939), reused 892 (delta 865), pack-reused 337 
-  host: localhost +Receiving objects100% (1346/1346), 221.77 KiB | 4.35 MiB/s, done. 
-  username: redmine +Resolving deltas100% (1111/1111), completed with 186 local objects. 
-  password: "password" +From https://github.com/rbenv/ruby-build 
-  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7 +   37d7143..7866a26  master     -> origin/master 
-  encoding: utf8 + * [new tag]         v20220721  -> v20220721 
- + * [new tag]         v20210726  -> v20210726 
-development: + * [new tag]         v20210801  -> v20210801 
- adapter: mysql2 + * [new tag]         v20210804  -> v20210804 
-  database: redmine_development + * [new tag]         v20210825  -> v20210825 
-  host: localhost + * [new tag]         v20210925  -> v20210925 
-  username: root + * [new tag]         v20210928  -> v20210928 
-  password: "" + * [new tag]         v20211019  -> v20211019 
-  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7 + * [new tag]         v20211109  -> v20211109 
-  encoding: utf8mb4 + * [new tag]         v20211124  -> v20211124 
- + * [new tag]         v20211201  -> v20211201 
-# Warning: The database defined as "test" will be erased and + * [new tag]         v20211203  -> v20211203 
-# re-generated from your development database when you run "rake". + * [new tag]         v20211225  -> v20211225 
-# Do not set this db to the same as development or production. + * [new tag]         v20211227  -> v20211227 
-test: + * [new tag]         v20220125  -> v20220125 
- adapter: mysql2 + * [new tag]         v20220218  -> v20220218 
-  database: redmine_test + * [new tag]         v20220324  -> v20220324 
-  host: localhost + * [new tag]         v20220412  -> v20220412 
-  username: root + * [new tag]         v20220415  -> v20220415 
-  password: "" + * [new tag]         v20220426  -> v20220426 
-  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7 + * [new tag]         v20220610  -> v20220610 
-  encoding: utf8mb4 + * [new tag]         v20220630  -> v20220630 
- + * [new tag]         v20220710  -> v20220710 
-# PostgreSQL configuration example + * [new tag]         v20220713  -> v20220713 
-#production: +Updating 37d7143..7866a26 
-#  adapter: postgresql +Fast-forward 
-#  database: redmine + .github/ISSUE_TEMPLATE/bug.md                  16 <b class=GRN>+++++++</b> 
- host: localhost + .github/ISSUE_TEMPLATE/config.yml               8 <b class=GRN>++++</b> 
- username: postgres + .github/ISSUE_TEMPLATE/enhancement.md           8 <b class=GRN>++++</b> 
- password: "postgres" + .github/workflows/mirror.yml                  |   1 <b class=GRN>+</b> 
- + .github/workflows/release.yml                   2 <b class=GRN>+</b><b class=RED>-</b> 
-# SQLite3 configuration example + CONTRIBUTING.md                                 7 <b class=GRN>+++</b> 
-#production: + bin/ruby-build                                | 157 <b class=GRN>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</b><b class=RED>-------</b> 
- adapter: sqlite3 + script/mirror                                   2 <b class=GRN>+</b><b class=RED>-</b> 
- database: db/redmine.sqlite3 + script/update-cruby                             4 <b class=GRN>+</b><b class=RED>-</b> 
- + script/update-jruby                             8 <b class=GRN>++</b><b class=RED>--</b> 
-# SQL Server configuration example + script/update-openssl                          21 <b class=GRN>+++++++++</b> 
-#production: + script/update-rbx                               2 <b class=GRN>+</b><b class=RED>-</b> 
- adapter: sqlserver + script/update-truffleruby                      13 <b class=GRN>++++</b><b class=RED>--</b> 
- database: redmine + script/update-truffleruby-graalvm              13 <b class=GRN>++++</b><b class=RED>--</b> 
- host: localhost + share/ruby-build/1.9.3-dev                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
- username: jenkins + share/ruby-build/1.9.3-p0                       2 <b class=GRN>+</b><b class=RED>-</b> 
- password: jenkins + share/ruby-build/1.9.3-p105                     2 <b class=GRN>+</b><b class=RED>-</b> 
-</code>+ share/ruby-build/1.9.3-p125                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p194                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p286                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p327                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p362                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p374                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p385                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p392                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p426                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p429                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p448                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p484                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p545                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p547                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p550                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-p551                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-preview1                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/1.9.3-rc1                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-dev                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p0                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p195                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p247                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p353                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p451                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p481                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p576                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p594                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p598                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p643                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p645                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p647                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-p648                     2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-preview1                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-preview2                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-rc1                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.0.0-rc2                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.0                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.0-dev                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.0-preview1                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.0-preview2                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.0-rc1                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.1                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.10                         2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.2                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.3                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.4                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.5                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.6                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.7                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.8                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.1.9                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.0                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.0-dev                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.0-preview1                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.0-preview2                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.0-rc1                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.1                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.10                         2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.2                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.3                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.4                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.5                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.6                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.7                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.8                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.2.9                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.0                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.0-dev                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.0-preview1                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.0-preview2                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.1                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.2                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.3                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.4                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.5                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.6                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.7                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.3.8                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.0                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.0-dev                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.0-preview1                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.0-preview2                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.0-preview3                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.0-rc1                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.1                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.10                         2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.2                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.3                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.4                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.5                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.6                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.7                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.8                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.4.9                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.0                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.0-dev                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.0-preview1                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.0-rc1                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.1                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.2                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.3                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.4                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.5                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.6                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.7                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.8                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.5.9                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.0                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.0-dev                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.0-preview1                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.0-preview2                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.0-preview3                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.0-rc1                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.0-rc2                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.1                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.10                         2 <b class=GRN>+</b> 
 + share/ruby-build/2.6.2                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.3                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.4                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.5                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.6                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.7                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.8                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.6.9                        |   2 <b class=GRN>+</b> 
 + share/ruby-build/2.7.0                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.7.0-dev                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.7.0-preview1                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.7.0-preview2                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.7.0-preview3                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.7.0-rc1                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.7.0-rc2                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.7.1                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.7.2                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.7.3                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.7.4                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/2.7.5                        |   2 <b class=GRN>+</b> 
 + share/ruby-build/2.7.6                        |   2 <b class=GRN>+</b> 
 + share/ruby-build/3.0.0                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/3.0.0-dev                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/3.0.0-preview1                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/3.0.0-preview2                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/3.0.0-rc1                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/3.0.1                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/3.0.2                        |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/3.0.3                        |   2 <b class=GRN>+</b> 
 + share/ruby-build/3.0.4                        |   2 <b class=GRN>+</b> 
 + share/ruby-build/3.1.0                        |   2 <b class=GRN>+</b> 
 + share/ruby-build/3.1.0-dev                    |   4 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/3.1.0-preview1                 2 <b class=GRN>+</b> 
 + share/ruby-build/3.1.1                        |   2 <b class=GRN>+</b> 
 + share/ruby-build/3.1.2                        |   2 <b class=GRN>+</b> 
 + share/ruby-build/3.2.0-dev                    |   2 <b class=GRN>+</b> 
 + share/ruby-build/3.2.0-preview1                 2 <b class=GRN>+</b> 
 + share/ruby-build/jruby-9.2.20.0                 2 <b class=GRN>+</b> 
 + share/ruby-build/jruby-9.2.20.1                 2 <b class=GRN>+</b> 
 + share/ruby-build/jruby-9.2.21.0                 2 <b class=GRN>+</b> 
 + share/ruby-build/jruby-9.3.0.0                |   2 <b class=GRN>+</b> 
 + share/ruby-build/jruby-9.3.1.0                |   2 <b class=GRN>+</b> 
 + share/ruby-build/jruby-9.3.2.0                |   2 <b class=GRN>+</b> 
 + share/ruby-build/jruby-9.3.3.0                |   2 <b class=GRN>+</b> 
 + share/ruby-build/jruby-9.3.4.0                |   2 <b class=GRN>+</b> 
 + share/ruby-build/jruby-9.3.6.0                |   2 <b class=GRN>+</b> 
 + share/ruby-build/mruby-3.1.0                  |   1 <b class=GRN>+</b> 
 + share/ruby-build/picoruby-3.0.0                 1 <b class=GRN>+</b> 
 + share/ruby-build/rbx-2.10                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-2.11                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-2.5.8                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-2.6                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-2.7                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-2.71828182                 2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-2.8                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-2.9                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.0                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.1                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.10                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.100                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.101                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.102                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.103                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.104                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.105                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.106                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.107                    |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.11                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.12                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.13                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.14                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.15                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.16                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.17                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.18                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.19                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.2                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.20                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.21                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.22                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.23                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.24                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.25                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.26                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.27                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.28                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.29                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.3                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.30                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.31                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.32                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.33                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.34                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.35                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.36                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.37                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.38                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.39                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.4                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.40                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.41                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.42                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.43                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.44                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.45                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.46                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.47                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.48                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.49                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.5                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.50                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.51                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.52                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.53                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.54                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.55                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.56                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.57                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.58                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.59                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.6                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.60                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.61                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.62                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.63                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.64                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.65                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.66                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.67                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.68                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.69                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.7                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.70                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.71                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.72                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.73                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.74                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.75                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.76                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.77                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.78                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.79                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.8                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.80                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.81                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.82                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.83                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.84                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.85                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.86                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.87                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.88                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.89                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.9                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.90                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.91                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.92                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.93                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.94                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.95                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.96                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.97                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.98                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-3.99                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.0                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.1                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.10                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.11                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.12                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.13                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.14                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.15                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.16                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.18                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.19                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.2                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.20                       2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.3                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.4                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.5                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.6                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.7                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.8                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-4.9                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/rbx-5.0                      |   2 <b class=GRN>+</b><b class=RED>-</b> 
 + share/ruby-build/truffleruby+graalvm-21.2.0    12 <b class=GRN>+++</b><b class=RED>--</b> 
 + share/ruby-build/truffleruby+graalvm-21.3.0    17 <b class=GRN>++++++++</b> 
 + share/ruby-build/truffleruby+graalvm-22.0.0.2 |  17 <b class=GRN>++++++++</b> 
 + share/ruby-build/truffleruby+graalvm-22.1.0    17 <b class=GRN>++++++++</b> 
 + share/ruby-build/truffleruby+graalvm-dev      |  21 <b class=GRN>+++++++++</b> 
 + share/ruby-build/truffleruby-21.2.0            12 <b class=GRN>+++</b><b class=RED>--</b> 
 + share/ruby-build/truffleruby-21.2.0.1          17 <b class=GRN>++++++++</b> 
 + share/ruby-build/truffleruby-21.3.0            17 <b class=GRN>++++++++</b> 
 + share/ruby-build/truffleruby-22.0.0.2          17 <b class=GRN>++++++++</b> 
 + share/ruby-build/truffleruby-22.1.0            17 <b class=GRN>++++++++</b> 
 + share/ruby-build/truffleruby-dev              |  16 <b class=GRN>+++++</b><b class=RED>--</b> 
 + test/build.bats                                29 <b class=GRN>++++++++++++</b><b class=RED>-</b> 
 + 330 files changed, 752 insertions(+), 327 deletions(-) 
 + create mode 100644 .github/ISSUE_TEMPLATE/bug.md 
 + create mode 100644 .github/ISSUE_TEMPLATE/config.yml 
 + create mode 100644 .github/ISSUE_TEMPLATE/enhancement.md 
 + create mode 100644 CONTRIBUTING.md 
 + create mode 100755 script/update-openssl 
 + create mode 100644 share/ruby-build/2.6.10 
 + create mode 100644 share/ruby-build/2.6.9 
 + create mode 100644 share/ruby-build/2.7.5 
 + create mode 100644 share/ruby-build/2.7.6 
 + create mode 100644 share/ruby-build/3.0.3 
 + create mode 100644 share/ruby-build/3.0.4 
 + create mode 100644 share/ruby-build/3.1.0 
 + create mode 100644 share/ruby-build/3.1.0-preview1 
 + create mode 100644 share/ruby-build/3.1.1 
 + create mode 100644 share/ruby-build/3.1.2 
 + create mode 100644 share/ruby-build/3.2.0-dev 
 + create mode 100644 share/ruby-build/3.2.0-preview1 
 + create mode 100644 share/ruby-build/jruby-9.2.20.0 
 + create mode 100644 share/ruby-build/jruby-9.2.20.1 
 + create mode 100644 share/ruby-build/jruby-9.2.21.0 
 + create mode 100644 share/ruby-build/jruby-9.3.0.0 
 + create mode 100644 share/ruby-build/jruby-9.3.1.0 
 + create mode 100644 share/ruby-build/jruby-9.3.2.0 
 + create mode 100644 share/ruby-build/jruby-9.3.3.0 
 + create mode 100644 share/ruby-build/jruby-9.3.4.0 
 + create mode 100644 share/ruby-build/jruby-9.3.6.0 
 + create mode 100644 share/ruby-build/mruby-3.1.0 
 + create mode 100644 share/ruby-build/picoruby-3.0.0 
 + create mode 100644 share/ruby-build/truffleruby+graalvm-21.3.0 
 + create mode 100644 share/ruby-build/truffleruby+graalvm-22.0.0.2 
 + create mode 100644 share/ruby-build/truffleruby+graalvm-22.1.0 
 + create mode 100644 share/ruby-build/truffleruby+graalvm-dev 
 + create mode 100644 share/ruby-build/truffleruby-21.2.0.1 
 + create mode 100644 share/ruby-build/truffleruby-21.3.0 
 + create mode 100644 share/ruby-build/truffleruby-22.0.0.2 
 + create mode 100644 share/ruby-build/truffleruby-22.1.0 
 +</pre></html></WRAP>
 </WRAP> </WRAP>
-※ **mysql2** を使う予定が無い場合、$ <html><code>bundle config set without 'development test'</code></html> を実行しても **Gemfile** の中で全ての **adapter** の設定状況を判断して **mysql2** をビルドしようとしてエラーになるので、**development test** ともに **adapter: mysql2** をコメントアウトする。\\ 
-<WRAP prewrap 100% mincode> 
-<code ruby Gemfile> 
-# Include database gems for the adapters found in the database 
-# configuration file 
-require 'erb' 
-require 'yaml' 
-database_file = File.join(File.dirname(__FILE__), "config/database.yml") 
-if File.exist?(database_file) 
-  database_config = YAML::load(ERB.new(IO.read(database_file)).result) 
-  adapters = database_config.values.map {|c| c['adapter']}.compact.uniq 
-  if adapters.any? 
-    adapters.each do |adapter| 
-      case adapter 
-      when 'mysql2' 
-        gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw] 
-      when /postgresql/ 
-        gem "pg", "~> 1.2.2", :platforms => [:mri, :mingw, :x64_mingw] 
-</code> 
-</WRAP> 
-※ **mysql2** の場合は **encoding: utfmb4** で寿司ビール🍣🍺問題に対応する。\\ 
-[[https://techracho.bpsinc.jp/hachi8833/2020_11_26/25044|MySQLのencodingをutf8からutf8mb4に変更して寿司ビール問題に対応する|TechRacho(テックラッチョ)〜エンジニアの「?」を「!」に〜|BPS株式会社]]\\ 
-[[qita>kamohicokamo/items/3cc05f63a90148525caf|寿司ビール問題① 初心者→中級者へのSTEP20/25 - Qiita]]\\ 
  
-===== メルとその他各種設定 ===== +ruby-build をアップグレド後に再度 rbenv がインストール可能な Ruby バジョンを取得する😉\\ 
-Redmine からメールバへ接続するための設定や日本語フォトファイルのパス記述した設定ファイルを作成する\\ +<WRAP color_term> 
-<code+<WRAP color_command><html><pre
-cd redmine-4.2.1 +rbenv install --list | column -x -c 128 
-$ cp config/configuration.yml.example config/configuration.yml +</pre></html></WRAP> 
-$ nano config/configuration.yml +<WRAP color_result><html><pre>
-</code>+
  
-**設定ファイルの設定例(localhost sendmail)**\\ +Only latest stable releases for each Ruby implementation are shown. 
-<WRAP prewrap 100% mincode> +Use 'rbenv install --list-all -L' to show all local versions
-<code autoconf config/configuration.yml> +2.6.10                          2.7.6                           3.0.4                           3.1.2 
-# specific configuration options for production environment +jruby-9.3.6.0                   mruby-3.1.0                     picoruby-3.0.0                  rbx-5.0 
-# that overrides the default ones +truffleruby-22.1.0              truffleruby+graalvm-22.1.0 
-production: +</pre></html></WRAP>
-  email_delivery: +
-    delivery_method: :smtp +
-    smtp_settings: +
-      address: "localhost" +
-      port: 25 +
-      domain: "redmine.tomoyan.net" +
- +
-  rmagick_font_path: /usr/share/fonts/ipa-pgothic/ipagp.ttf +
-</code>+
 </WRAP> </WRAP>
  
-**設定ファイルの設定例(gmail)**\\ +現時点で最新の Ruby 3.1.2 をンストーする😻\\ 
-<WRAP prewrap 100% mincode+今度は上手くインストールが完了した🥰\\ 
-<code autoconf config/configuration.yml+<WRAP color_term
-# specific configuration options for production environment +<WRAP color_command><html><pre> 
-# that overrides the default ones +$ TMPDIR=/var/tmp rbenv install 3.1.2 
-production: +</pre></html></WRAP
-  email_delivery: +<WRAP color_result><html><pre> 
-    delivery_method: :smtp +Downloading ruby-3.1.2.tar.gz... 
-    smtp_settings: +-> https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.2.tar.gz 
-      enable_starttls_auto: true +Installing ruby-3.1.2... 
-      address: "smtp.gmail.com" +Installed ruby-3.1.2 to /home/redmine/.anyenv/envs/rbenv/versions/3.1.2
-      port: 587 +
-      domain: "redmine.tomoyan.net" +
-      authentication: :login +
-      user_name: "redmine@redmine.tomoyan.net" +
-      password: "gmail no password!"+
  
-  rmagick_font_path: /usr/share/fonts/ipa-pgothic/ipagp.ttf +</pre></html></WRAP> 
-</code>+<WRAP color_command><html><pre> 
 +$ rbenv rehash 
 +$ rbenv global 3.1.2 
 +$ ruby -
 +ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux] 
 +</pre></html></WRAP>
 </WRAP> </WRAP>
-※gmail でメール通知を行う場合、送信を行う Google アカウントで以下の設定を行う。\\ 
- メール クライアントの設定 (例: Outlook、Eudora、Netscape Mail)\\ 
- [[https://support.google.com/mail/answer/12103?hl=ja&authuser=5|設定手順]]\\ 
-  * 歯車→[すべての設定を表示]→[メール転送と POP/IMAP] タブ→[POP ダウンロード] で、[すべてのメールで POP を有効にする] または [今後受信するメールで POP を有効にする] を選択する。\\ 
-  * 更に、2 段階認証プロセスを使用している場合は、[[https://support.google.com/accounts/answer/185833|アプリ パスワード]]を使ってログイン、2 段階認証プロセスを使用していない場合は、[[https://support.google.com/accounts/answer/6010255|安全性の低いアプリがアカウントにアクセスすることを許可]]する必要がある。\\ これらの設定が適切ではない場合、「<wrap em>535-5.7.8 Username and Password not accepted. Learn more at</wrap>」エラーで「テストメールを送信」 に失敗する😱\\ 更に、正常にメールが送信されても、今度は<wrap em>受信側で迷惑メールフォルダに入るので、該当メールアドレスをアドレス帳に登録する</wrap>必要がある😅\\ <del>めんどくさいから</del>別の方法を検討する余地あり😇\\ 
- 
-**メールの通知テスト**\\ 
-「管理」→「設定」で「メール通知」タブより、画面左下の「テストメールを送信」をクリックする。\\ 
- 
-**設定ファイル全体**\\ 
-<WRAP prewrap 100% mincode_long> 
-<code autoconf config/configuration.yml> 
-# = Redmine configuration file 
-# 
-# Each environment has its own configuration options.  If you are only 
-# running in production, only the production block needs to be configured. 
-# Environment specific configuration options override the default ones. 
-# 
-# Note that this file needs to be a valid YAML file. 
-# DO NOT USE TABS! Use 2 spaces instead of tabs for indentation. 
- 
-# default configuration options for all environments 
-default: 
-  # Outgoing emails configuration 
-  # See the examples below and the Rails guide for more configuration options: 
-  # http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration 
-  email_delivery: 
- 
-  # ==== Simple SMTP server at localhost 
-  # 
-  #  email_delivery: 
-  #    delivery_method: :smtp 
-  #    smtp_settings: 
-  #      address: "localhost" 
-  #      port: 25 
-  # 
-  # ==== SMTP server at example.com using LOGIN authentication and checking HELO for foo.com 
-  # 
-  #  email_delivery: 
-  #    delivery_method: :smtp 
-  #    smtp_settings: 
-  #      address: "example.com" 
-  #      port: 25 
-  #      authentication: :login 
-  #      domain: 'foo.com' 
-  #      user_name: 'myaccount' 
-  #      password: 'password' 
-  # 
-  # ==== SMTP server at example.com using PLAIN authentication 
-  # 
-  #  email_delivery: 
-  #    delivery_method: :smtp 
-  #    smtp_settings: 
-  #      address: "example.com" 
-  #      port: 25 
-  #      authentication: :plain 
-  #      domain: 'example.com' 
-  #      user_name: 'myaccount' 
-  #      password: 'password' 
-  # 
-  # ==== SMTP server at using TLS (GMail) 
-  # This might require some additional configuration. See the guides at: 
-  # http://www.redmine.org/projects/redmine/wiki/EmailConfiguration 
-  # 
-  #  email_delivery: 
-  #    delivery_method: :smtp 
-  #    smtp_settings: 
-  #      enable_starttls_auto: true 
-  #      address: "smtp.gmail.com" 
-  #      port: 587 
-  #      domain: "smtp.gmail.com" # 'your.domain.com' for GoogleApps 
-  #      authentication: :plain 
-  #      user_name: "your_email@gmail.com" 
-  #      password: "your_password" 
-  # 
-  # ==== Sendmail command 
-  # 
-  #  email_delivery: 
-  #    delivery_method: :sendmail 
- 
-  # Absolute path to the directory where attachments are stored. 
-  # The default is the 'files' directory in your Redmine instance. 
-  # Your Redmine instance needs to have write permission on this 
-  # directory. 
-  # Examples: 
-  # attachments_storage_path: /var/redmine/files 
-  # attachments_storage_path: D:/redmine/files 
-  attachments_storage_path: 
- 
-  # Configuration of the autologin cookie. 
-  # autologin_cookie_name: the name of the cookie (default: autologin) 
-  # autologin_cookie_path: the cookie path (default: /) 
-  # autologin_cookie_secure: true sets the cookie secure flag (default: false) 
-  autologin_cookie_name: 
-  autologin_cookie_path: 
-  autologin_cookie_secure: 
- 
-  # Configuration of SCM executable command. 
-  # 
-  # Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe) 
-  # On Windows + CRuby, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work. 
-  # 
-  # On Windows + JRuby 1.6.2, path which contains spaces does not work. 
-  # For example, "C:\Program Files\TortoiseHg\hg.exe". 
-  # If you want to this feature, you need to install to the path which does not contains spaces. 
-  # For example, "C:\TortoiseHg\hg.exe". 
-  # 
-  # Examples: 
-  # scm_subversion_command: svn                                       # (default: svn) 
-  # scm_mercurial_command:  C:\Program Files\TortoiseHg\hg.exe        # (default: hg) 
-  # scm_git_command:        /usr/local/bin/git                        # (default: git) 
-  # scm_cvs_command:        cvs                                       # (default: cvs) 
-  # scm_bazaar_command:     bzr.exe                                   # (default: bzr) 
-  # 
-  scm_subversion_command: 
-  scm_mercurial_command: 
-  scm_git_command: 
-  scm_cvs_command: 
-  scm_bazaar_command: 
- 
-  # SCM paths validation. 
-  # 
-  # You can configure a regular expression for each SCM that will be used to 
-  # validate the path of new repositories (eg. path entered by users with the 
-  # "Manage repositories" permission and path returned by reposman.rb). 
-  # The regexp will be wrapped with \A \z, so it must match the whole path. 
-  # And the regexp is case sensitive. 
-  # 
-  # You can match the project identifier by using %project% in the regexp. 
-  # 
-  # You can also set a custom hint message for each SCM that will be displayed 
-  # on the repository form instead of the default one. 
-  # 
-  # Examples: 
-  # scm_subversion_path_regexp: file:///svnpath/[a-z0-9_]+ 
-  # scm_subversion_path_info: SVN URL (eg. file:///svnpath/foo) 
-  # 
-  # scm_git_path_regexp: /gitpath/%project%(\.[a-z0-9_])?/ 
-  # 
-  scm_subversion_path_regexp: 
-  scm_mercurial_path_regexp: 
-  scm_git_path_regexp: 
-  scm_cvs_path_regexp: 
-  scm_bazaar_path_regexp: 
-  scm_filesystem_path_regexp: 
- 
-  # Absolute path to the SCM commands errors (stderr) log file. 
-  # The default is to log in the 'log' directory of your Redmine instance. 
-  # Example: 
-  # scm_stderr_log_file: /var/log/redmine_scm_stderr.log 
-  scm_stderr_log_file: 
- 
-  # Key used to encrypt sensitive data in the database (SCM passwords, 
-  # LDAP passwords, and TOTP (two-factor authentication) secret keys). 
-  # If you don't want to enable data encryption, just leave it blank. 
-  # WARNING: losing/changing this key will make encrypted data unreadable. 
-  # 
-  # If you want to encrypt existing data in your database: 
-  # * set the cipher key here in your configuration file 
-  # * encrypt data using 'rake db:encrypt RAILS_ENV=production' 
-  # 
-  # If you have encrypted data and want to change this key, you have to: 
-  # * decrypt data using 'rake db:decrypt RAILS_ENV=production' first 
-  # * change the cipher key here in your configuration file 
-  # * encrypt data using 'rake db:encrypt RAILS_ENV=production' 
-  database_cipher_key: 
- 
-  # Set this to false to disable plugins' assets mirroring on startup. 
-  # You can use `rake redmine:plugins:assets` to manually mirror assets 
-  # to public/plugin_assets when you install/upgrade a Redmine plugin. 
-  # 
-  #mirror_plugins_assets_on_startup: false 
- 
-  # Your secret key for verifying cookie session data integrity. If you 
-  # change this key, all old sessions will become invalid! Make sure the 
-  # secret is at least 30 characters and all random, no regular words or 
-  # you'll be exposed to dictionary attacks. 
-  # 
-  # If you have a load-balancing Redmine cluster, you have to use the 
-  # same secret token on each machine. 
-  #secret_token: 'change it to a long random string' 
- 
-  # Requires users to re-enter their password for sensitive actions (editing 
-  # of account data, project memberships, application settings, user, group, 
-  # role, auth source management and project deletion). Disabled by default. 
-  # Timeout is set in minutes. 
-  # 
-  #sudo_mode: true 
-  #sudo_mode_timeout: 15 
- 
-  # Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to 
-  # the ImageMagick's `convert` binary. Used to generate attachment thumbnails. 
-  #imagemagick_convert_command: 
- 
-  # Absolute path (e.g. /usr/bin/gs, c:/ghostscript/gs.exe) to 
-  # the `gs` binary. Used to generate attachment thumbnails of PDF files. 
-  #gs_command: 
- 
-  # Configuration of MiniMagick font. 
-  # 
-  # Redmine uses MiniMagick in order to export a gantt chart to a PNG image. 
-  # This setting is necessary to properly display CJK (Chinese, Japanese, 
-  # and Korean) characters in the PNG image. Please make sure that the 
-  # specified font is installed in the Redmine server. 
-  # 
-  # This setting is necessary only when CJK characters are used in gantt. 
-  # 
-  # Note that rmagick_font_path in prior to Redmine 4.1.0 has been renamed 
-  # to minimagick_font_path. 
-  # 
-  # Examples for Japanese: 
-  #   Windows: 
-  #     minimagick_font_path: C:\windows\fonts\msgothic.ttc 
-  #   Linux: 
-  #     minimagick_font_path: /usr/share/fonts/ipa-mincho/ipam.ttf 
-  # 
-  minimagick_font_path: 
- 
-  # Maximum number of simultaneous AJAX uploads 
-  #max_concurrent_ajax_uploads: 2 
- 
-  # Configure OpenIdAuthentication.store 
-  # 
-  # allowed values: :memory, :file, :memcache 
-  #openid_authentication_store: :memory 
- 
-  # URL of the avatar server 
-  # 
-  # By default, Redmine uses Gravatar as the avatar server for displaying 
-  # user icons. You can switch to another Gravatar-compatible server such 
-  # as Libravatar and opensource servers listed on 
-  # https://wiki.libravatar.org/running_your_own/ 
-  # 
-  # URL of each avatar is: #{avatar_server_url}/avatar/#{hash} 
-  # 
-  #avatar_server_url: https://www.gravatar.com        # default 
-  #avatar_server_url: https://seccdn.libravatar.org 
- 
-# specific configuration options for production environment 
-# that overrides the default ones 
-production: 
-  email_delivery: 
-    delivery_method: :smtp 
-    smtp_settings: 
-      enable_starttls_auto: true 
-      address: "smtp.gmail.com" 
-      port: 587 
-      domain: "redmine.tomoyan.net" 
-      authentication: :login 
-      user_name: "redmine@redmine.tomoyan.net" 
-      password: "gmail no password!" 
- 
-  rmagick_font_path: /usr/share/fonts/ipa-pgothic/ipagp.ttf 
- 
-# specific configuration options for development environment 
-# that overrides the default ones 
-development: 
-</code> 
-</WRAP> 
- 
-===== トラブルシューティング ===== 
- 
-==== rbenv でインストールに失敗する ==== 
-ruby-build が古い場合にビルドに失敗する😱😭\\ 
- 
  
  • ruby/redmine/redmine_install.1658651631.txt.gz
  • 最終更新: 2022/07/24 17:33
  • by ともやん