Bundler http auth support

Does anyone know if Bundler supports http auth? I'm sure rubygems (I think I read it somewhere), but I don't see anywhere in the docs where I could specify the username / pwd for a specific repo

I try to start my own native gem server so as not to expose vulnerable code

+3
source share
2 answers

According to https://github.com/carlhuda/bundler/issues/300 you can set the proxy server settings in the same way as in rubygems.

set HTTP_PROXY=http://[username]:[password]@[proxyserver]:[port]

http://dan-webb.co.uk/wordpress/?p=11

OR

# cat $HOME/.gemrc
gem: --source http://[username]:[password]@[proxyserver]:[port]/[DIRECTORY]

http://www.sun.com/bigadmin/content/submitted/ruby_http.jsp

0

Bundler 1.6 HTTP- .

0

Source: https://habr.com/ru/post/1748236/


All Articles