Code Monkey home page Code Monkey logo

Comments (2)

drbrain avatar drbrain commented on June 10, 2024

Can you generate rdoc in debug mode?

$ gem which rdoc
/Library/Ruby/Gems/1.8/gems/rdoc-3.1/lib/rdoc.rb

Will give you the location rdoc is installed.

Use the directory to build rdoc in debug mode:

$ rdoc /Library/Ruby/Gems/1.8/gems/rdoc-3.1/lib --debug

This should give an exception report with a backtrace, please add it to this ticket.

rdoc-data is not needed for Ruby 1.9.2 as Ruby 1.9.2 generates the proper data at install time.

from rdoc.

serialhex avatar serialhex commented on June 10, 2024

input a

C:\Users\serialhex>gem which rdoc
C:/Ruby192/lib/ruby/1.9.1/rdoc.rb

input b

C:\Users\serialhex>rdoc /Library/Ruby/Gems/1.8/gems/rdoc-3.1/lib --debug
file '/Library/Ruby/Gems/1.8/gems/rdoc-3.1/lib' not found

Directory doc already exists, but it looks like it isn't an RDoc directory.

Because RDoc doesn't want to risk destroying any of your existing files,
you'll need to specify a different output directory name (using the --op


option)

C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdoc-3.1/lib/rdoc/rdoc.rb:121:in error' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdoc-3.1/lib/rdoc/rdoc.rb:196:inrescue in setup_output_dir'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdoc-3.1/lib/rdoc/rdoc.rb:175:in setup_output_dir' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdoc-3.1/lib/rdoc/rdoc.rb:408:indocument'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdoc-3.1/bin/rdoc:15:in <top (required)>' C:/Ruby192/bin/rdoc:19:inload'
C:/Ruby192/bin/rdoc:19:in `

'

...there ya go, if you need anything else just ask

from rdoc.

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.