I am trying to install Coderunner on Ubuntu 12.04 LTS with the following guide. The system runs Ruby 2.1.0 (also tried 1.9.3 without success):
Unfortunately, when I am running $ gem install coderunner
, I get the following error-message:
➜ ~ gem install coderunner
Building native extensions. This could take a while...
ERROR: Error installing coderunner:
ERROR: Failed to build gem native extension.
/home/test/.rvm/rubies/ruby-2.1.0/bin/ruby extconf.rb
checking gsl version... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/test/.rvm/rubies/ruby-2.1.0/bin/ruby
extconf.rb:242:in `rescue in <main>': Check GSL>=0.9.4 is installed, and the command "gsl-config" is in search path. (RuntimeError)
from extconf.rb:143:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /home/test/.rvm/gems/ruby-2.1.0/gems/gsl-1.15.3 for inspection.
Results logged to /home/test/.rvm/gems/ruby-2.1.0/extensions/x86_64-linux/2.1.0/gsl-1.15.3/gem_make.out
Could you advice me how to get this fixed?
I got the same error on Ubuntu 13.10 when trying to install Coderunner. I ran this:
After the GSL was installed I was able to install Coderunner: