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 error #18

Open
BlueNoob opened this issue May 3, 2018 · 4 comments
Open

syntax error #18

BlueNoob opened this issue May 3, 2018 · 4 comments

Comments

@BlueNoob
Copy link

BlueNoob commented May 3, 2018

# ruby --version
ruby 2.0.0p648 (2015-12-16) [x86_64-linux]

# ruby hatcloud.rb -h
hatcloud.rb:7: syntax error, unexpected '<'
<!DOCTYPE html>
 ^
hatcloud.rb:8: syntax error, unexpected '<'
<html lang="en">
 ^
hatcloud.rb:9: syntax error, unexpected '<'
  <head>
   ^
hatcloud.rb:11: syntax error, unexpected '<'
  <link rel="dns-prefetch" href="https://assets-cdn.github.com">
   ^
hatcloud.rb:11: syntax error, unexpected tIDENTIFIER, expecting end-of-input
  <link rel="dns-prefetch" href="https://assets-cdn.github.com">

@mateeuslinno
Copy link
Member

What is target ? Send me please..

@BlueNoob
Copy link
Author

no matter what target ,
I just run the command "ruby hatcloud.rb -h" after installed .

@BlueNoob
Copy link
Author

I have updated my first comment , you can see it more clear

@giriji
Copy link

giriji commented Jun 27, 2018

Following shown up ... On CentOS 6.9 & ruby 1.8.7
[root@server HatCloud]# ruby hatcloud.rb -h
hatcloud.rb:64: warning: don't put space before argument parentheses
hatcloud.rb:81: warning: don't put space before argument parentheses
hatcloud.rb:5:in `require': no such file to load -- json (LoadError)
from hatcloud.rb:5

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