0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

bitnami redmine4.*環境にプラグイン(redmine_bootstrap_kit)をインストールする。

0
Posted at

■プラグインのインストール

 bitnami redmine4.*系の環境に、古めのプラグイン(redmine_bootstrap_kit)をインストールします。
 windwos版のみ検証し、その他環境は確認しておりませんが他の方の参考になるかもしれないので公開します。
 ※インストール作業は割愛しております。
 ※プラグインインストール後の動作確認はしておりません、インストール作業のみです。

■環境:

 bitnami-redmine-4.1.1-3-windows-x64-installer.exe
 redmica1.2.2
 Windows10 Home 64bit x64
 インターネット接続環境
 プラグイン
  Redmine Bootstrap Kit plugin
  This is a Bootstrap Kit plugin for Redmine
  Nicolas Rodriguez 0.2-devel

■プラグインの入手

  以下より入手する。
  https://github.com/jbox-web/redmine_bootstrap_kit

■インストール(初回)

 プラグインを下記にインストールする。
 1.pluginsディレクトリに、プラグインをコピーする。
  例)C:\Bitnami\redmine-4.1.1-3\apps\redmine\htdocs\plugins\redmine_bootstrap_kit
   ※プラグインのディレクトリ名はredmine_bootstrap_kitにしておかないとインストールできない 
 2.以下コマンドでインストール
   bundle install
   bundle exec rake redmine:plugins RAILS_ENV=production  
 3.Bitnami Redmine Stack Manager Toolを起動して、以下のサービスを再起動するも停止してしまう。
   redmineThin1、redmineThin2
image.png
 
 4.エラーログ解析
  htdocs配下のログファイル(production.log)を確認しても手掛かりなし。
image.png

■原因解析

 1.コマンドプロンプト(use_redmine.bat)を起動して以下のコマンドを動作させる。
   bundle exec thin start -e production
 2.エラー画面を確認する。
image.png
 
 3.以下のエラーに注目して解決方法を検討する。
4: from C:/Bitnami/redmine-4.1.1-3/apps/redmine/htdocs/plugins/redmine_bootstrap_kit/app/helpers/code_mirror/colorizer_helper.rb:1:in '`

■結果

 1.調査していたら以下サイトより、Gemfileファイルに下記gemを追加したら動作すると記載があったので、試してみる。
   gem 'coderay', '1.1.3'
   https://github.com/jbox-web/redmine_bootstrap_kit/issues/12

 2.Gemfileを修正して、再度インストールして再起動
   ※インストール(初回)の2,3と実施する。

 3.インストールが正常にできた

image.png

以上です、お疲れ様でした。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?