| View previous topic :: View next topic |
| Author |
Message |
billbell52
Joined: 27 Apr 2009 Posts: 8
|
Posted: Wed May 06, 2009 6:53 pm Post subject: Help - Rubygems custom_require error with ruby-debug-ide |
|
|
Trying to get to run.
require 'rubygems'
require 'ruby-debug-ide'
def test_debug
puts "Hello World"
debugger(7000) # 7000 being a port
puts "Hello World2"
end
test_debug
When I try to run it (F6) I get the following error:
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- ruby-debug-ide (LoadError)
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/userdata/bell/ruby/SU/lib/main.rb:5
I need some ideas to debug custom_require bug. The gem is there. It shows up on the Netbeans Ruby Gems form and I see it in the ruby install. Can someone try to run it and see if it works.
I am referring to:
http://blogs.sun.com/martink/entry/remote_debugging_debug_whatever_ruby
Environment - running everything on same machine.
Windows Vista
Ruby install Ruby 1.8.6-p287
rubygems 1.3.2
ruby-debug-ide-0.4.5
linecache-0.43-x86-mswin32
Installed fast debugger
NetBeans IDE Dev (Build 200904281401) |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed May 06, 2009 8:16 pm Post subject: Help - Rubygems custom_require error with ruby-debug-ide |
|
|
Hi Bill,
billbell52 wrote:
| Quote: | Trying to get to run.
require 'rubygems'
require 'ruby-debug-ide'
|
I think you need to require just 'ruby-debug', though at least I
encountered another problem when trying this out (namely undefined
method `run_init_script'). I'll try to have another look at this with
more time.
Erno
| Quote: |
def test_debug
puts "Hello World"
debugger(7000) # 7000 being a port
puts "Hello World2"
end
test_debug
When I try to run it (F6) I get the following error:
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- ruby-debug-ide (LoadError)
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from C:/userdata/bell/ruby/SU/lib/main.rb:5
I need some ideas to debug custom_require bug. The gem is there. It shows up on the Netbeans Ruby Gems form and I see it in the ruby install. Can someone try to run it and see if it works.
I am referring to:
http://blogs.sun.com/martink/entry/remote_debugging_debug_whatever_ruby
Environment - running everything on same machine.
Windows Vista
Ruby install Ruby 1.8.6-p287
rubygems 1.3.2
ruby-debug-ide-0.4.5
linecache-0.43-x86-mswin32
Installed fast debugger
NetBeans IDE Dev (Build 200904281401)
|
|
|
| Back to top |
|
 |
billbell52
Joined: 27 Apr 2009 Posts: 8
|
Posted: Wed May 06, 2009 8:24 pm Post subject: Help - Rubygems custom_require error with ruby-debug-ide |
|
|
Thanks for the response. Your right. I get the run_init_script error
as well. Appreciate any help on this or any direction on how to
debug. This is a great feature.
| Quote: |
I think you need to require just 'ruby-debug', though at least I encountered
another problem when trying this out (namely undefined method
`run_init_script'). I'll try to have another look at this with more time.
Erno
|
--
Regards, Bill Bell |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|