Git Product home page Git Product logo

Comments (7)

nene avatar nene commented on August 25, 2024

Which Ruby version are you using?

Apparently it appears that String#lines method was introduced in Ruby 1.8.7

I pushed a change to master branch that uses #each_line instead of #lines.

Can you pull it down and check out if it solves your problem?

from jsduck.

gevik avatar gevik commented on August 25, 2024

After update and re-run, not I get the following error:

/usr/bin/ruby: symbol lookup error: /home/user1/.gem/ruby/1.8/gems/rdiscount-1.6.8/lib/rdiscount.so: undefined symbol : RSTRING_LEN
parsing: 0.188596 seconds
aggregating: 0.000979 seconds
generating: 0.034888 seconds

I am a ruby noob. I installed ruby with yum on my CentOS box and followed the instructions for jsduck

from jsduck.

nene avatar nene commented on August 25, 2024

Could you just run:

ruby -v

to determine which version of Ruby you have?

from jsduck.

gevik avatar gevik commented on August 25, 2024

ruby 1.8.6 (2010-02-05 patchlevel 399) [i386-linux]

from jsduck.

nene avatar nene commented on August 25, 2024

Anyway, it seems to be an rdiscount error.

You could try running rdiscount on JSDuck readme file to see if it works on its own:

rdiscount README.md

from jsduck.

nene avatar nene commented on August 25, 2024

But I seriously suggest you try upgrading to Ruby 1.8.7 because it's almost 3 years old now (released at 2008).

from jsduck.

gevik avatar gevik commented on August 25, 2024

fixed the problem following:
http://www.phase2.net/2009/06/gitorious-setup-rstring_len-in-rdiscount/

Thank you for the quick fix/push

from jsduck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.