Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

doesn't play nice with bundler 1.1 #6

Open
robomark opened this issue Mar 15, 2012 · 2 comments
Open

doesn't play nice with bundler 1.1 #6

robomark opened this issue Mar 15, 2012 · 2 comments

Comments

@robomark
Copy link

Bundler 1.1 tries to use the dependencies api from rubygems, and falls back to the full sources file if it's not available. However, rubygems_proxy passes that call through and returns an empty dependencies set. I hacked up my copy to return 500 for path_info matching api/v1/dependencies.

@dissonanz
Copy link

I added a mod_rewrite rule in Apache to proxy /api/.* calls directly to rubygems.org. This appears to be an effective workaround so far.

@hao1939
Copy link

hao1939 commented Apr 11, 2012

I fixed the problem by simply forward the api request to rubygems.org.
You can checkout my rubygems_proxy repo.

And, dissonanz's solution is useful, maybe better performance, I like it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants