1.8.7 here as well. I remember having a hard time getting jodoc working the
first time I built docs :(


On Mon, Jul 8, 2013 at 7:22 PM, Shazron <shaz...@gmail.com> wrote:

> 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 <csantan...@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
> > <csantan...@gmail.com>
> >
>

Reply via email to