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

Syntax Errors on Mac OS X 10.8.3 #1

Open
jeffehobbs opened this issue Mar 20, 2013 · 2 comments
Open

Syntax Errors on Mac OS X 10.8.3 #1

jeffehobbs opened this issue Mar 20, 2013 · 2 comments

Comments

@jeffehobbs
Copy link

Pasting output from Terminal. I'm running the stock version of Ruby that ships with Mac OS X 10.8:

MacBookPro:~ Jeff$ cd Downloads/
MacBookPro:Downloads Jeff$ ruby archive.org-getter.rb
archive.org-getter.rb:4: syntax error, unexpected '<'

^
archive.org-getter.rb:5: syntax error, unexpected '<'

^ archive.org-getter.rb:7: syntax error, unexpected '<' ^ archive.org-getter.rb:8: syntax error, unexpected '<' ^ archive.org-getter.rb:8: syntax error, unexpected tIDENTIFIER, expecting $end
@jbenton
Copy link

jbenton commented Mar 20, 2013

You downloaded the HTML file from GitHub, not the script itself. That's why you're getting doctype errors. I fixed the wording on the link to make that more clear.

@jeffehobbs
Copy link
Author

Sure enough! Downloading this and running: https://raw.github.com/mstem/archive.org-getter/master/archive.org-getter.rb works like a charm. Sorry to be an idiot!

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

2 participants