Shopify / dashing

The exceptionally handsome dashboard framework in Ruby and Coffeescript.
http://shopify.github.com/dashing/
MIT License
10.97k stars 1.18k forks source link

Install dashing gem on centos #716

Open trekr5 opened 8 years ago

trekr5 commented 8 years ago

Hello,

When I try to install dashing gem on Centos using gem install dashing. I get the following error:-

ERROR:  Error installing dashing:
ERROR: Failed to build gem native extension.

    /usr/bin/ruby1.9 extconf.rb
   mkmf.rb can't find header files for ruby at /usr/share/ruby/include/ruby.h

 Gem files will remain installed in /usr/local/share/gems1.9/gems/eventmachine-1.2.0.1 for inspection.
 Results logged to /usr/local/share/gems1.9/gems/eventmachine-1.2.0.1/ext/gem_make.out
 [root@ip-10-0-107-75 chef]# gem install dashing -v 1.3.4
 Building native extensions.  This could take a while...
 ERROR:  Error installing dashing:
ERROR: Failed to build gem native extension.

    /usr/bin/ruby1.9 extconf.rb
 mkmf.rb can't find header files for ruby at /usr/share/ruby/include/ruby.h

 Gem files will remain installed in /usr/local/share/gems1.9/gems/eventmachine-1.2.0.1 for inspection.

Can dashing run on other linux version besides Ubuntu? If so how can I make dashing install?

Thanks

Skeyelab commented 8 years ago

try installing RVM first and using a newer version of ruby with a fresh gemset

Litwilly commented 8 years ago

I was able to get it running without using RVM on CentOS with:

sudo yum install ruby-devel

patchie commented 8 years ago

For Ubuntu with the same problem, i used this command:

apt-get install ruby-dev