HatCloud icon indicating copy to clipboard operation
HatCloud copied to clipboard

syntax error

Open BlueNoob opened this issue 6 years ago • 4 comments

# 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">

BlueNoob avatar May 03 '18 05:05 BlueNoob

What is target ? Send me please..

mateeuslinno avatar May 06 '18 14:05 mateeuslinno

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

BlueNoob avatar Jun 14 '18 03:06 BlueNoob

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

BlueNoob avatar Jun 14 '18 06:06 BlueNoob

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

giriji avatar Jun 27 '18 18:06 giriji