You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Carlos Santana (JIRA)" <ji...@apache.org> on 2013/07/09 23:33:48 UTC

[jira] [Created] (CB-4138) cordova-docs readme needs update about errors with dependencies with ruby and nokogiri

Carlos Santana created CB-4138:
----------------------------------

             Summary: cordova-docs readme needs update about errors with dependencies with ruby and nokogiri
                 Key: CB-4138
                 URL: https://issues.apache.org/jira/browse/CB-4138
             Project: Apache Cordova
          Issue Type: Bug
          Components: Docs
    Affects Versions: 2.9.0, Master
         Environment: Mac OSX
            Reporter: Carlos Santana
            Assignee: Carlos Santana
            Priority: Critical


I had problems generating the docs

Email thread:
[http://callback.markmail.org/thread/e4zuaznaibc7h6d2]

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>'

solution is to use ruby 1.8.7 and nokogiri 1.5.2 seems to work for me as suggested by other committers on the dev mailing list.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira