bioruby-samtools icon indicating copy to clipboard operation
bioruby-samtools copied to clipboard

installing while offline

Open moskyt opened this issue 5 years ago • 2 comments

The gem downloads samtools when installing. That can be a serious problem if you need to install it somewhere without internet access -- packaging the gem does not help.

Is there a good way to overcome this? I am not sure if it is feasible to package samtools, if only for licensing issues.

I would be happy to implement the solution if it is decided how it should be done.

moskyt avatar Sep 05 '19 09:09 moskyt

Hi, We download the code on the assumption that you are already online if you are using gems. On your case, would you be installing the gem without a repository ? I think we could use an environment variable to set the Local location of the samtools tools. Would that work?

homonecloco avatar Sep 20 '19 10:09 homonecloco

Well, that's what bundle package is for. There are several cases where internet connection is not available or unreliable and bundler would perfectly handle that via the --local switch. Environment variable would be just fine!

moskyt avatar Sep 20 '19 10:09 moskyt