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 5 years have passed since last update.

Ruby 2.3.1でbundle installしたらAn error occurred while installing eventmachine (1.2.2)

Posted at

環境

[root@localhost example]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)

[root@localhost example]# ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]

[root@localhost example]# gem -v
2.5.1

[root@localhost example]# bundler -v
Bundler version 1.14.3

エラーメッセージ

An error occurred while installing eventmachine (1.2.2), and Bundler cannot continue.
Make sure that `gem install eventmachine -v '1.2.2'` succeeds before bundling.

原因

g++がインストールされてない。

対策

g++をインストール

[root@localhost example]# yum install gcc-c++
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?