-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Padrino cannot download plugins #2152
Comments
Can you fetch the URL manually using curl?
Are you on a proxy / shared connection / working from a coffee shop / etc? We might need a better error message here, but I think maybe Github had throttled your connection to that URL. Works as expected here.
|
Curl worked fine, at least I successfully fetched the plugin URL with Did you try with same version as me? If not, could you show me your version? Maybe I downloaded wrong version of Padrino - I am a newbie in this framework. I did not experience GitHub throttle before or after. However, it would be good if you can make padrino-recipes as a Gem and Padrino could look after them locally too. Or, at least, provide us a way to place these plugins locally and not force-download them. This is so obtrusive and makes developers with poor internet connection (or even metered one) annoyed. |
I can reproduce this with Padrino 0.13.3.3. One problem is Padrino swallows the exception (fix at #2153). When you include the exception (and the backtrace), you see that this is an issue using Thor:
|
Further research shows that this is a problem with Thor. See rails/thor#576. |
What is the current behavior?
padrino gen plugin coffee
cannot download the plugin from GitHubWhat is the expected behavior?
???
Which versions of Ruby, Padrino, Sinatra, Rack, OS are you using? Did this work in previous versions?
and
The text was updated successfully, but these errors were encountered: