Setting RUBYLIB while debugging

  • Thread starter David Schulberg
  • Start date
D

David Schulberg

Currently I have a ruby script that is normally run via a windows batch
file that has

set RUBYLIB=..
ruby ..\rubyfile.rb

When I run the ruby script with rdebug I run into a problem that
required ruby files cannot be accessed from the RUBYLIB folder i.e I get
error

C:/Work/ruby/bin/rdebug:19 Uncaught exception: no such file to load --
ScriptReader

How do I get rdebug to know about the RUBYLIB folder where the
ScriptReader script lives?

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top