cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Santana <csantan...@gmail.com>
Subject Re: error generating cordova-docs ( ./bin/generate --edge )
Date Tue, 09 Jul 2013 13:27:49 GMT
thanks I will use rvm to get 1.8.7 and try again.

If this is the problem, I will update the README with the info

Thanks for the quick response


On Mon, Jul 8, 2013 at 9:53 PM, Andrew Grieve <agrieve@chromium.org> wrote:

> 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 <shazron@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 <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>
> > >
> >
>



-- 
Carlos Santana
<csantana23@gmail.com>

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