Comments (7)
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.
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.
Could you just run:
ruby -v
to determine which version of Ruby you have?
from jsduck.
ruby 1.8.6 (2010-02-05 patchlevel 399) [i386-linux]
from jsduck.
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.
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.
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)
- Does sencha docs use a private tool now? HOT 1
- Simple HTML example showing glyph with JavaScript constant HOT 1
- Opening JSDuck via index.php breaks JSONP loading
- What is "description" doing in guides?
- Documentation coverage HOT 8
- windows executable listed as malicious HOT 1
- How to hide the Array Boolean item HOT 2
- JSDuck & ExtJS6 - Universal app. HOT 3
- cannot load such file --rubygems.rb HOT 2
- Error thrown when running HOT 2
- jsduck 6.0.0.beta does not support encoding gb2312? HOT 1
- jsduck: command not found HOT 1
- why @example tag can't show 'Code Editor' & 'Live Preview' btn? HOT 3
- why ckfinder not working on hosting HOT 2
- Custom "inline" tags for Guides HOT 2
- Have a way to prevent loading external resources HOT 2
- Why on code don't useing parse self-contained function HOT 1
- Archive & Alternatives HOT 1
- XSS Injection in JSDuck
- Oops...
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsduck.