#442 √ resolved
justinweiss

VM Docs don't build

Reported by justinweiss | March 27th, 2008 @ 09:37 PM | in 1.0 preview

Running the rake task doc:vm results in the following error:

** Execute doc/vm/toc.html

shotgun/rubinius doc/vm/gen_op_code_html.rb

shotgun/lib/instructions.rb:

shotgun/lib/instructions.rb:1:58: Skipping require of dynamic string: "#{File.dirname(__FILE__)}/../../kernel/core/iseq"

c...........................................................................................................

An exception has occurred:

No such file or directory - doc/vm/op_codes/noop.html (ENOENT)

Backtrace:

Errno.handle at kernel/core/errno.rb:19

File#initialize at kernel/core/file.rb:52

Class#new at kernel/bootstrap/class.rb:16

File.open at kernel/core/io.rb:214

Object#__script__ {} at doc/vm/gen_op_code_html.rb:195

Array#each at kernel/core/array.rb:573

Object#__script__ {} at doc/vm/gen_op_code_html.rb:152

Array#each at kernel/core/array.rb:573

Object#__script__ at doc/vm/gen_op_code_html.rb:149

CompiledMethod#as_script at kernel/core/compiled_method.rb:210

Compile.single_load at kernel/core/compile.rb:240

Compile.load_from_extension at kernel/core/compile.rb:312

Object#__script__ at kernel/loader.rb:190

rake aborted!

This was probably caused by the files that were in the doc/vm/op_codes directory being moved, so git stopped keeping track of that directory's existence.

I've attached a patch that should fix the problem.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket