Kenneth Bregat
Kenneth Bregat

Reputation: 369

"An error occurred while installing eventmachine" with version 1.0.8

Can someone help me to solve this problem:

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

It comes after I do: "bundle install" in my environment.

Thanks!

Upvotes: 0

Views: 679

Answers (1)

Kenneth Bregat
Kenneth Bregat

Reputation: 369

Create a reference for the OpenSSl gem was the key. I did something like this:

gem install eventmachine -v '1.0.8' -- --with-cppflags=-I/usr/local/opt/openssl/include

and finally worked for me.

Thanks @Jack and @Jww for his help.

Upvotes: 6

Related Questions