Guest User

Untitled

a guest
Nov 7th, 2017
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. Fetching source index for `http://rubygems.org/`
  2. Could not reach rubygems repository `http://rubygems.org/`
  3. Could not find gem 'rspec-rails (>= 2.0.0.beta.22, runtime)' in any of the gem sources.
  4.  
  5. export http_proxy=http://user:password@host:port
  6.  
  7. export HTTP_PROXY=$http_proxy
  8.  
  9. sudo -E bundle install
  10.  
  11. ---
  12. :benchmark: false
  13. :verbose: true
  14. :sources:
  15. - http://rubygems.org/
  16. - http://gems.rubyforge.org
  17. :backtrace: false
  18. :bulk_threshold: 1000
  19. :update_sources: true
  20. gem: --http-proxy=http://USERNAME:PASSWORD@ADDRESS:PORT
  21.  
  22. SET http_proxy=http://user:password@host:port
  23.  
  24. SET /P login="Enter proxy login: "
  25. SET /P password="Enter proxy password: "
  26. SET HTTP_PROXY=http://%login%:%password%@proxy.com:8080
  27. SET HTTPS_PROXY=%HTTP_PROXY%
  28.  
  29. CLS
  30.  
  31. bundle install
  32.  
  33. echo $http_proxy
  34.  
  35. $ export http_proxy="http://username:password@host:port"
  36. $ export ftp_proxy="http://username:password@host:port"
  37. $ sudo visudo
  38.  
  39. Defaults env_keep = "http_proxy ftp_proxy"
  40.  
  41. Defaults env_reset
Add Comment
Please, Sign In to add comment