Hi folks,
I recently had trouble installing sequencserver on MBP running Lion (10.7.5) because installer could not find ruby header files. Computer stolen! Just purchased new MBP mid-2015
1st attempt:
You don’t have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
So apparently I have Gems 2.0
2nd attempt with ‘sudo gem’ install:
Password:
Fetching: rack-1.6.4.gem (100%)
Successfully installed rack-1.6.4
Fetching: tilt-2.0.1.gem (100%)
Successfully installed tilt-2.0.1
Fetching: rack-protection-1.5.3.gem (100%)
Successfully installed rack-protection-1.5.3
Fetching: sinatra-1.4.6.gem (100%)
Successfully installed sinatra-1.4.6
Fetching: json-1.8.3.gem (100%)
Building native extensions. This could take a while…
ERROR: Error installing sequenceserver:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
mkmf.rb can’t find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/json-1.8.3 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/json-1.8.3/ext/json/ext/generator/gem_make.out
Same original problem with ruby header files, now with OS X 10.10.3 as with OS X 10.7.5
Please help! I am not command line savvy