You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_gist doesn't handle redirects, which leads to examples of the following being downloaded and installed e.g. in config/initializers/rdebug.rb:
<html><body>You are being <a href="https://gist.github.com/csiszarattila/1135055/raw">redirected</a>.</body></html>
This was fixed once before by replacing the gist URLs but even after that, powder debug still fails to install the initialiser as gists are now being redirected to another URL within the gist owner's account.
Rather than patching the URLs which can break whenever Github changes the addresses, perhaps it would be better to extend get_gist so that it follows redirects.
I'll try to submit a pull request for this today.
The text was updated successfully, but these errors were encountered:
get_gist
doesn't handle redirects, which leads to examples of the following being downloaded and installed e.g. inconfig/initializers/rdebug.rb
:This was fixed once before by replacing the gist URLs but even after that,
powder debug
still fails to install the initialiser as gists are now being redirected to another URL within the gist owner's account.Rather than patching the URLs which can break whenever Github changes the addresses, perhaps it would be better to extend get_gist so that it follows redirects.
I'll try to submit a pull request for this today.
The text was updated successfully, but these errors were encountered: