rjpbonnal / bioruby-samtools

Porting of samtools-ruby to BioRuby. Binder of samtools for ruby, on the top of FFI -from original project-
Other
33 stars 23 forks source link

Installing with ruby 2.2 fails "uninitalized constant Config" #52

Closed MatthewRalston closed 9 years ago

MatthewRalston commented 9 years ago

Hi, fresh ruby install from RVM on a remote machine during a travis build. Can't build your gem. https://travis-ci.org/MatthewRalston/SCI/jobs/87806134

homonecloco commented 9 years ago

Hi, Thanks for reporting this. I need to update the .travis.yml to use the new infrastructure. I got several warnings, but it still (mostly) builds on the current deployment. This is because travis now used docker, and you don't have sudo. There is a workaround to install dependencies, so I'm trying that. R.

homonecloco commented 9 years ago

I looked at your travis log, you need to have the packages in your .travis.yml To do that, add the following:

addons:
  apt:
    packages:
    - update
    - zlib1g-dev
    - libncurses5-dev
    - libtinfo-dev

I updated the configuration in this repository, so it can be used as example. R.

MatthewRalston commented 9 years ago

@homonecloco does this mean this will be updated in a future release of bioruby samtools?

homonecloco commented 9 years ago

I added to the documentation this instructions. I don't know if travis is able to read the dependencies of the gems that are installed, but I have the hunch that it doesn't. The dependencies are to be able to compile samtools.