after doing gem install eventmachine I am getting this error





try building it locally :
gem unpack eventmachine -v '1.0.9.1'
cd eventmachine-1.0.9.1
wget https://github.com/eventmachine/eventmachine/raw/master/eventmachine.gemspec
gem build eventmachine.gemspec
gem install eventmachine-1.0.9.1.gem
thx @Auxilus this worked for me
i had the same error while installing eventmachine-1.2.5
I tried it locally but not working at all.. But after downgrading my clang 6 to 5 I were able to build eventmachine gem so why it is happening ?
Is there any problem with clang 6 ?
@Auxilus that works whith me , thank you
Hi..am trying to run ..bundle install ..and it tell me this..
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 4.2.10
Using builder 3.2.3
Using erubis 2.7.0
Using mini_portile2 2.3.0
Fetching nokogiri 1.8.2
Installing nokogiri 1.8.2 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native
extension.
current directory:
/data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/gems/nokogiri-1.8.2/ext/nokogiri
/data/data/com.termux/files/usr/bin/ruby -r
./siteconf20180420-17561-ebwn9x.rb extconf.rb
--use-system-libraries
mkmf.rb can't find header files for ruby at
/data/data/com.termux/files/usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in
/data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/gems/nokogiri-1.8.2
for inspection.
Results logged to
/data/data/com.termux/files/usr/lib/ruby/gems/2.4.0/extensions/arm-linux/2.4.0/nokogiri-1.8.2/gem_make.out
An error occurred while installing nokogiri
(1.8.2), and Bundler cannot continue.
Make sure that gem install nokogiri -v '1.8.2'
succeeds before bundling.
In Gemfile:
factory_bot_rails was resolved to 4.8.2, which depends
on
railties was resolved to 4.2.10, which depends on
actionpack was resolved to 4.2.10, which depends
on
actionview was resolved to 4.2.10, which depends
on
rails-dom-testing was resolved to 1.0.9, which
depends on
Nokogiri
@Auxilus it worked for me !!!
try building it locally :
gem unpack eventmachine -v '1.0.9.1' cd eventmachine-1.0.9.1 wget https://github.com/eventmachine/eventmachine/raw/master/eventmachine.gemspec gem build eventmachine.gemspec gem install eventmachine-1.0.9.1.gem
@Auxilus it worked for me !!!
Most helpful comment
try building it locally :