This gem is for setting up squid proxy in order to speed up resolving rubygems dependencies.
rubygems-localproxy requires squid to be installed in /usr/local/sbin/squid (default homebrew install)
install it yourself as:
$ gem install rubygems-localproxy
$ gem-localproxy init
$ gem-localproxy start
$ eval $(gem-localproxy use)
$ cd project/dir
$ bundle
To stop squid:
$ gem-localproxy stop
Currently cachces only non-SSL requests, so bundler will be faster only if you have following line in your Gemfile:
source 'http://rubygems.org/'
Please be warned: this is not secure production setting!
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request