Skip to content
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

Web install impossible due to github redirects #104

Closed
parkan opened this issue Jun 6, 2011 · 1 comment
Closed

Web install impossible due to github redirects #104

parkan opened this issue Jun 6, 2011 · 1 comment

Comments

@parkan
Copy link

parkan commented Jun 6, 2011

Looks like github is doing some crummy redirection to a different (https) gist host, which breaks the install:

./perlbrew: line 1: syntax error near unexpected token `<'
./perlbrew: line 1: `<html><body>You are being <a href="https://raw.github.com/gugod/App-perlbrew/master/perlbrew">redirected</a>.</body></html>'

You can fix the urls in the original script, but further installation steps (e.g. /bin) seem to rely on additional downloads

@nnutter
Copy link

nnutter commented Jun 6, 2011

Updating the URL worked fine for me. I did set a PERLBREW_ROOT but I don't see how that would negatively affect anything with the bin dir.

--- perlbrewinstall.orig        2011-06-06 17:11:12.100676000 -0500
+++ perlbrewinstall.new 2011-06-06 17:12:11.569759000 -0500
@@ -4,7 +4,7 @@

 echo
 echo "## Download the latest perlbrew"
-curl -O https://github.com/gugod/App-perlbrew/raw/master/perlbrew >/dev/null 2>&1
+curl -O https://raw.github.com/gugod/App-perlbrew/master/perlbrew >/dev/null 2>&1

 echo "## Download the packed patchperl"
 curl -O https://gist.github.com/raw/962406/5aa30dd2ec33cd9cea42ed2125154dcc1406edbc/patchperl >/dev/null 2>&1

@gugod gugod closed this as completed in 2ced54e Jun 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants