LoginSignup
0
0

More than 5 years have passed since last update.

Bitnami Redmineでredmine_local_avatars installをやってみた、結果インスコできなかったを記録

Last updated at Posted at 2016-02-07

Pulginを2つ目、この前にTemplete pluginを入れたRedmine2.6-1.0環境に追加トライ

GitHubからファイルをDL

  • c:\bitnami\redmine2.6-2.0\apps\redmine\htdocs\plugins にフォルダごと置く

どうせrakeでは動かないはず、でbundle execで実施して見る

dirはhtdocs
* cd C:\Bitnami\redmine-2.6.1-0\apps\redmine\htdocs
* C:\Bitnami\redmine-2.6.1-0\apps\redmine\htdocs>bundle exec rake redmine:plugins:migrate RAILS_ENV=production
* 'bundle' is not recognized as an internal or external command,
operable program or batch file.

bundle認識できね~よ ・・と言われても
この前のIssue Template PluginではOKだったのに

dirをpluginsに変えてbundle execを実施して見る

・・が同じくダメ(当然か)

先にrubyで通して見る

  • C:\Bitnami\redmine-2.6.1-0\ruby\bin>bundle exec rake redmine:plugins:migrate RAILS_ENV=production
  • DL is deprecated, please use Fiddle Could not locate Gemfile

・・と言われ、
でもbunldeは認識されているよう

dirをhtdocsにしてbundle execを実施して見る

  • cd C:\Bitnami\redmine-2.6.1-0\apps\redmine\htdocs

・・が同じく'bundle' is not recognized・・か(変化なし)

ダメもとでrakeで実施して見る

  • C:\Bitnami\redmine-2.6.1-0\apps\redmine\htdocs>rake redmine:plugins:migrate RAILS_ENV=production
  • rake aborted!

・・もやっぱダメ(当然だ)

bundle updateを実施して見る

  • 'bundle' is not recognized as an internal or external command, operable program or batch file.

・・なので、そもそもbundleが認識されてない?
でもrubyでは通っているのに??
やっぱりPluginインスコが2つ目だから???
(この前にIssue Templateを入れたので)

行き詰まりネットを調べると
意識的にPluginする”もの”を指定する方法、があるような
* C:\Bitnami\redmine-2.6.1-0\apps\redmine\htdocs>bundle exec rake redmine:plugins:migrate RAILS_ENV=production Migrating redmine_local_avatars

・・でもまたまた'bundle' is not recognized
諦めて冷静に、そもそも

なぜにhtdocsではbundleが通らない?

C:\Bitnami\redmine-2.6.1-0でもbundleが通らない
htdocs\pluginsでも通らない
htdocs\plugins\redmine_local_avatarsでも通らない

当たり前、bundleが通らなければインスコできないじゃん
不思議だ、前のTemplete pluginで通ったのは何だったんだ?偶然の訳はので何か理由があるはずだがRuby良く分かってないので判明もできず

さあ次いってみよう!・・でinline-attach-screenshotのインスコに走る (・・で、Avatarはその後に無事インスコ完)

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