tenex / rails-assets

The solution to assets management in Rails
https://rails-assets.org
MIT License
1.63k stars 69 forks source link

Update git config to use https:// instead of git:// #483

Closed hut8 closed 2 years ago

hut8 commented 2 years ago

During building, bower fetches from git. Some old versions apparently load from git://github.com/... which no longer exists, which causes our unit tests to fail. Git actually has a workaround for this: https://git-scm.com/docs/git-config#Documentation/git-config.txt-urlltbasegtinsteadOf

git config --global url."https://".insteadOf 'git://'

This should be run on production as well as run on CI (which I'm working on now)

hut8 commented 2 years ago

In #485 it looks like new Bower does this. I did it on production manually. And it's done in CI. So, done done done.