[BioRuby] Missing libxml-ruby and unit tests on Mac OS X Snow Leopard

Peter Cock p.j.a.cock at googlemail.com
Thu Nov 3 17:24:47 UTC 2011


On Thu, Nov 3, 2011 at 4:55 PM, Pjotr Prins <pjotr.public14 at thebird.nl> wrote:
> On Thu, Nov 03, 2011 at 04:40:05PM +0000, Peter Cock wrote:
>> $ export GEM_HOME=$HOME/gems
>> $ export GEM_PATH=$HOME/gems:/usr/lib/ruby/gems/1.8/
>> $ export PATH=$PATH:$HOME/gems/bin
>
> Are these available during the BioRuby test run? ruby1.8 is notorious
> for not finding gems - make sure you see libxml in the path. ...

Double checking, there were some inconsistencies between the paths
on disk, and the environment variables copied from the webpage,
e.g. $HOME/gems vs $HOME/.gems

I tried again with:

$ export GEM_HOME=$HOME/.gem
$ export $HOME/.gem:$HOME/.gem/ruby/1.8/gems
$ export PATH=$PATH:$HOME/.gem/ruby/1.8/gems/:$HOME/.gem/ruby/1.8/gems/libxml-ruby-2.2.2/ext/libxml/
$ ruby test/runner.rb
...

Same error. Can I / should I just install libxml-ruby at system level? How?

Thanks,

Peter



More information about the BioRuby mailing list