Not able to install eventmachine with version 1.0.8 with ruby 2.0 on CentOS7

Skip to first unread message

mayank garg

Mar 27, 2016, 4:16:40 PM3/27/16
to EventMachine
Hi guys,

I tried the following commands for snorby as ruby on rails application:

----> bundle install --deployment

and received error as:

"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."

then tried this:
'gem install eventmachine -v '1.0.8' and found error as:

"Building native extensions.  This could take a while...
ERROR:  Error installing eventmachine:
ERROR: Failed to build gem native extension."

Please help me in resolving this.

James Tucker

Mar 27, 2016, 4:17:39 PM3/27/16
You need to look in mkmf.log to see why it is failing.

It's likely you need to install openssl headers, on linux systems that's typically something like an openssl-dev package.

You received this message because you are subscribed to the Google Groups "EventMachine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

Reply all
Reply to author
0 new messages