質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Redmine

Redmineは、プロジェクトのタスク管理、進捗管理、情報共有が可能な、 オープンソースプロジェクト管理ソフトウェアです。

Q&A

1回答

3167閲覧

Redmineの導入がうまくいきません、、、助けてください!!ちゃんと勉強するので

haskins2341

総合スコア14

Redmine

Redmineは、プロジェクトのタスク管理、進捗管理、情報共有が可能な、 オープンソースプロジェクト管理ソフトウェアです。

0グッド

0クリップ

投稿2017/03/31 10:03

Redmineの導入時間がかかっており大変苦戦しております。
ちなみにサーバーのストレージ不足でBitnamiはダウンロードできません、、、、泣(本当はストレージ増やしてほしいんですけど・・・)

躓いてるところは二つで
ひとつはRubyをインストールした後Bundleコマンドが使用できません。
最後に以下のようなエラーがでます。
参考手順サイト
http://redmine.jp/guide/RedmineInstall/
4のところからできません

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. 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, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32 java`. The dependency activerecord-jdbc-adapter (~> 1.3.2) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`. The dependency activerecord-jdbcpostgresql-adapter (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`. Fetching gem metadata from https://rubygems.org/.......... Fetching version metadata from https://rubygems.org/.. Fetching dependency metadata from https://rubygems.org/. Resolving dependencies... Using rake 12.0.0 Using i18n 0.8.1 Using json 1.8.6 Using minitest 5.10.1 Using thread_safe 0.3.6 Using builder 3.2.3 Using erubis 2.7.0 Using mini_portile2 2.1.0 Using rack 1.6.5 Using mime-types-data 3.2016.0521 Using arel 6.0.4 Using public_suffix 2.0.5 Using bundler 1.14.6 Using coderay 1.1.1 Using concurrent-ruby 1.0.5 Using htmlentities 4.3.4 Using thor 0.19.4 Using mimemagic 0.3.2 Using net-ldap 0.12.1 Installing pg 0.18.4 with native extensions Using ruby-openid 2.3.0 Using rbpdf-font 1.19.1 Using redcarpet 3.3.4 Using request_store 1.0.5 Installing rmagick 2.16.0 with native extensions Using tzinfo 1.2.3 Using nokogiri 1.7.1 Using rack-test 0.6.3 Using mime-types 3.1 Using addressable 2.5.1 Using sprockets 3.7.1 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /root/.rbenv/versions/2.2.3/bin/ruby -r ./siteconf20170331-9474-1v7pivf.rb extconf.rb checking for pg_config... no No pg_config... trying anyway. If building fails, please try again with --with-pg-config=/path/to/pg_config checking for libpq-fe.h... no Can't find the 'libpq-fe.h header *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/root/.rbenv/versions/2.2.3/bin/$(RUBY_BASE_NAME) --with-pg --without-pg --enable-windows-cross --disable-windows-cross --with-pg-config --without-pg-config --with-pg_config --without-pg_config --with-pg-dir --without-pg-dir --with-pg-include --without-pg-include=${pg-dir}/include --with-pg-lib --without-pg-lib=${pg-dir}/lib extconf failed, exit code 1 Gem files will remain installed in /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/pg-0.18.4 for inspection. Results logged to /root/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/pg-0.18.4/gem_make.out ** An error occurred while installing pg (0.18.4), and Bundler cannot continue. Make sure that `gem install pg -v '0.18.4'` succeeds before bundling.**

もう一つはappcheのDocumentRootがうまくつながらないということです。
こっちの手順はこのサイトを参考にしています。
http://blog.redmine.jp/articles/2_3/installation_centos/

# # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/opt/redmine-3.3.2/public"

たぶんパスはあってるですがIPをブラウザに入力してもRedmineの画面ではなくAppacheのTomcatの設定画面のような画面になります。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

Redmineはやったことがないので、間違えていたらすみません。

1つめの問題については、以下のサイトが参考になると思います。
gem install pgしてNo pg_configとなる対処法

Ubuntuでは、以下のコマンドで良いそうです(わたしはこんなコマンド見たことありませんが...)。

$ sudo aptitude install libpq-dev

追記

apt-getでも良いみたいです。

$ sudo apt-get install libpq-dev

必要ライブラリがありません事案の救世主apt-file

投稿2017/03/31 10:13

編集2017/03/31 10:19
programming

総合スコア476

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだベストアンサーが選ばれていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問