gradle-plugins icon indicating copy to clipboard operation
gradle-plugins copied to clipboard

Unable to install Gems from behind corp proxy server

Open jt1088 opened this issue 11 years ago • 0 comments

Solution:

In the RunJRuby plugin add -p parameter as:

project.runJRuby("-S gem install -p http://proxyhost.com:8080 --no-rdoc --no-ri --install-dir '${project.gemHome}' $gem ")

This initially would not work for me. Solution was to upgrade jRuby to the latest release (1.7.4)

jt1088 avatar Jul 11 '13 20:07 jt1088