gemパッケージのインストールで「Could not load OpenSSL.」

464 views
Skip to first unread message

森幸太郎

unread,
Oct 25, 2017, 11:37:52 AM10/25/17
to Redmine Users (japanese)
【環境】
  • CentOS Linux release 7.0.1406 (Core) 
    • Mem 1GB
    • HDD 50GB
  • Redmine 3.4.3
  • 5.5.56-MariaDB
  • Ruby 2.4.2
【現象】
先日レンタルのVPSを契約し、こちらに記載のCentosへのRedmineインストール手順にしたがって
Redmineサーバの構築をしておりました。
ところが後半あたりのgemパッケージのインストールの手順で以下のようなメッセージが出てうまくインストールできません。(2枚目の画像)

エラーメッセージでググってGemfireの1行目を"https"から"http"と修正しましたが、解決せず、、(1枚目の画像)
他に有益な情報が手に入らなかったので、相談させてください。

不足している情報があれば、ご指摘下さい。
よろしければ、お力添え頂けると幸甚に存じます。

[root@dti-vps-xxxxxx redmine]# nl /var/lib/redmine/Gemfile | head

     1 source 'http://rubygems.org'

       

     2 if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.5.0')

     3   abort "Redmine requires Bundler 1.5.0 or higher (you're using #{Bundler::VERSION}).\nPlease update with 'gem update bundler'."

     4 end

       

     5 gem "rails", "4.2.8"

     6 gem "addressable", "2.4.0" if RUBY_VERSION < "2.0"

     7 if RUBY_VERSION < "2.1"

     8   gem "public_suffix", (RUBY_VERSION < "2.0" ? "~> 1.4" : "~> 2.0.5")

[root@dti-vps-xxxxxx redmine]# 


[root@dti-vps-xxxxxx redmine]# bundle install --without development test --path vendor/bundle

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. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`.


Could not load OpenSSL.

You must recompile Ruby with OpenSSL support or change the sources in your

Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using

RVM are available at http://rvm.io/packages/openssl.

[root@dti-vps-xxxxxx redmine]# 




Reply all
Reply to author
Forward
0 new messages