Setting RUBYLIB while debugging

Discussion in 'Ruby' started by David Schulberg, Oct 2, 2009.

  1. 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
    --
    Posted via http://www.ruby-forum.com/.
    David Schulberg, Oct 2, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. matthew c. mead

    passing RUBYLIB to fcgi processes

    matthew c. mead, Feb 15, 2004, in forum: Ruby
    Replies:
    0
    Views:
    87
    matthew c. mead
    Feb 15, 2004
  2. Richard Lionheart
    Replies:
    8
    Views:
    122
    Richard Lionheart
    May 27, 2004
  3. Chris Spiegel

    RubyGems and $RUBYLIB

    Chris Spiegel, Feb 28, 2005, in forum: Ruby
    Replies:
    0
    Views:
    136
    Chris Spiegel
    Feb 28, 2005
  4. Stu Glaser

    Setting RUBYLIB

    Stu Glaser, Nov 4, 2005, in forum: Ruby
    Replies:
    4
    Views:
    253
    Stu Glaser
    Nov 5, 2005
  5. aidy
    Replies:
    2
    Views:
    82
    zycte
    Jun 15, 2006
Loading...

Share This Page