I am trying to start working on some of the website tasks and can't see to get the 'bundle install' command to work. I have downloaded the EventMachine project and tried to install that way too.

Here is what I see:
$ bundle install
Fetching gem metadata from <https://rubygems.org/>...........
Using public_suffix 3.0.3
Using addressable 2.6.0
Using bundler 1.17.3
Using colorator 1.1.0
Using concurrent-ruby 1.1.5
Fetching eventmachine 1.2.7
Installing eventmachine 1.2.7 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

   current directory: /var/lib/gems/2.5.0/gems/eventmachine-1.2.7/ext
/usr/bin/ruby2.5 -r ./siteconf20190607-19567-1x3ah9r.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.5.0/gems/eventmachine-1.2.7 for inspection. Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/eventmachine-1.2.7/gem_make.out

An error occurred while installing eventmachine (1.2.7), and Bundler cannot continue. Make sure that `gem install eventmachine -v '1.2.7' --source '<https://rubygems.org/>'` succeeds before bundling.

In Gemfile:
 jekyll-redirect-from was resolved to 0.15.0, which depends on
   jekyll was resolved to 3.8.5, which depends on
     em-websocket was resolved to 0.5.1, which depends on
       eventmachine


I have tried pulling the EventMachine project and building it my self but it did not work: wget <https://github.com/eventmachine/eventmachine/raw/master/eventmachine.gemspec>
gem build eventmachine.gemspec
sudo gem install eventmachine-1.2.7.gem



Reply via email to