c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- c:/ruby/
lib/ruby/gems/1.8/gems/linecache-0.42-x86-mswin32/lib/../ext/trace_nums (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/linecache-0.42-x86-mswin32/lib/tracelines.rb:8
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from c:/ruby/lib/ruby/gems/1.8/gems/linecache-0.42-x86-mswin32/lib/linecache.rb:63
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
...
Para no predicar con el ejemplo, decidí preguntarle a Google antes de mirar nada. Y aquí encontré la respuesta.
Cambiando
require File.join(@@SRCDIR, '..', 'ext', 'tracenums')
por
require File.join(@@SRC_DIR, '..', 'ext', 'extconf.rb')
en c:\ruby\...\1.8\gems\linecache-0.42-x86-mswin32\lib\tracelines.rb, todo arreglado.
Gracias Matt. Tómate algo.
No hay comentarios:
Publicar un comentario