bioruby-samtools
bioruby-samtools copied to clipboard
installing while offline
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.
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?
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!