Skip to content

installing while offline #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
moskyt opened this issue Sep 5, 2019 · 2 comments
Open

installing while offline #72

moskyt opened this issue Sep 5, 2019 · 2 comments

Comments

@moskyt
Copy link
Contributor

moskyt commented Sep 5, 2019

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.

@homonecloco
Copy link
Collaborator

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?

@moskyt
Copy link
Contributor Author

moskyt commented Sep 20, 2019

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants