How to install ruby-augeas gem? (ubuntu 10.04) -


root@ubuntu10:~# gem install ruby-augeas fetching: ruby-augeas-0.5.0.gem (100%) building native extensions.  take while... error:  error installing ruby-augeas:     error: failed build gem native extension.          /usr/local/rvm/rubies/ruby-1.9.3-p327/bin/ruby extconf.rb *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers.  check mkmf.log file more details.  may need configuration options.  provided configuration options:     --with-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=/usr/local/rvm/rubies/ruby-1.9.3-p327/bin/ruby     --with-augeas-config     --without-augeas-config     --with-pkg-config     --without-pkg-config extconf.rb:27:in `<main>': augeas-devel not installed (runtimeerror)   gem files remain installed in /usr/local/rvm/gems/ruby-1.9.3-p327/gems/ruby-augeas-0.5.0 inspection. results logged /usr/local/rvm/gems/ruby-1.9.3-p327/gems/ruby-augeas-0.5.0/ext/augeas/gem_make.out   no idea lib missing....   root@ubuntu10:~# apt-get install libaugeas-dev reading package lists... done building dependency tree        reading state information... done libaugeas-dev newest version. 0 upgraded, 0 newly installed, 0 remove , 108 not upgraded. 

i have installed libaugeas-dev lib , still doesn't work

you don't need use gem install ruby-augeas on ubuntu, it's packaged, use:

sudo apt-get install libaugeas-ruby 

if want up-to-date versions of augeas , ruby-augeas, can use my ppa:

sudo apt-add-repository ppa:raphink/augeas sudo apt-get update sudo apt-get install libaugeas-ruby 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -