cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shazron <shaz...@gmail.com>
Subject Re: error generating cordova-docs ( ./bin/generate --edge )
Date Mon, 08 Jul 2013 23:22:28 GMT
I'm still using ruby 1.8.7 (which came with the system) and that worked, so
I reckon it could be ruby 1.9.x?


On Mon, Jul 8, 2013 at 4:05 PM, Carlos Santana <csantana23@gmail.com> wrote:

> Anyone has a clue on what I'm doing wrong?
>
> https://issues.apache.org/jira/browse/CB-4126
>
>
> cordova-docs:(master)$ ./bin/generate --edge
>
> /Users/csantana23/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require':
>
> /Users/csantana23/Documents/SWG/git/apache/cordova-docs/lib/cordova/jodoc.rb:28:
> syntax error, unexpected tCONSTANT, expecting ']' (SyntaxError)
>     @template_directories = [ File.join TEMPLATE_PATH, 'default' ]
>                                                      ^
>
> /Users/csantana23/Documents/SWG/git/apache/cordova-docs/lib/cordova/jodoc.rb:28:
> dynamic constant assignment
>     @template_directories = [ File.join TEMPLATE_PATH, 'default' ]
>                                                       ^
>
> /Users/csantana23/Documents/SWG/git/apache/cordova-docs/lib/cordova/jodoc.rb:28:
> syntax error, unexpected ']', expecting tCOLON2 or '[' or '.'
> from
>
> /Users/csantana23/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require'
> from
>
> /Users/csantana23/Documents/SWG/git/apache/cordova-docs/lib/docs_generator.rb:26:in
> `<top (required)>'
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from ./bin/generate:22:in `<main>'
>
>
> --
> Carlos Santana
> <csantana23@gmail.com>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message