gem_make.outvia this error when installing:
pi@rpi-home:~ $ sudo gem install atomic Building native extensions. This could take a while... ERROR: Error installing atomic: ERROR: Failed to build gem native extension. /usr/bin/ruby2.1 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.1.0/gems/atomic-1.1.99 for inspection. Results logged to /var/lib/gems/2.1.0/extensions/arm-linux/2.1.0/atomic-1.1.99/gem_make.out
sudo apt-get install ruby-devdoesn’t fix it, you can capture a list of all of the currently installed packages with
dpkg -l > packages.txtto see what you have. Feel free to post that package list on a Github gist or something, and post a link to it here.
sudo apt-get install ruby-dev && sudo gem install backup`` and now I'm seeingBuilding native extensions. This could take a while...`