cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Santana (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-4126) Can't generate cordova-docs
Date Wed, 16 Oct 2013 22:06:41 GMT

     [ https://issues.apache.org/jira/browse/CB-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carlos Santana closed CB-4126.
------------------------------

    Resolution: Fixed

working now

> Can't generate cordova-docs
> ---------------------------
>
>                 Key: CB-4126
>                 URL: https://issues.apache.org/jira/browse/CB-4126
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: Master
>         Environment: Mac
>            Reporter: Carlos Santana
>            Assignee: Michael Brooks
>            Priority: Minor
>
> follow instructions and install dependencies
> Try with ruby 1.9.2 and 1.9.3 (via rvm)
> Here is the error output
> 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>'



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message