freeride debugger issue

Discussion in 'Ruby' started by Chuck Brotman, Jun 24, 2005.

  1. I've been trying out Freeride and when I try to run my program using the
    debugger, it always stops on the line "require rubygems" in file ubygems.rb
    Neither the file nor the include were put there by me. Is there a way to
    stop this behavior?
     
    Chuck Brotman, Jun 24, 2005
    #1
    1. Advertising

  2. Chuck Brotman

    Curt Hibbs Guest

    Chuck Brotman wrote:
    > I've been trying out Freeride and when I try to run my program using the
    > debugger, it always stops on the line "require rubygems" in file ubygems.rb
    > Neither the file nor the include were put there by me. Is there a way to
    > stop this behavior?


    This is because the environment variable RUBYOPT is set to "rubygems.rb'
    which causes ruby to startup automatically using rubygems. If you don't
    want automatic access to any installed rubygems, then just get rid of
    this environment variable.

    Curt
     
    Curt Hibbs, Jun 24, 2005
    #2
    1. Advertising

  3. "Curt Hibbs" <> wrote in message
    news:...
    > Chuck Brotman wrote:
    >> I've been trying out Freeride and when I try to run my program using the
    >> debugger, it always stops on the line "require rubygems" in file
    >> ubygems.rb Neither the file nor the include were put there by me. Is
    >> there a way to stop this behavior?

    >
    > This is because the environment variable RUBYOPT is set to "rubygems.rb'
    > which causes ruby to startup automatically using rubygems. If you don't
    > want automatic access to any installed rubygems, then just get rid of this
    > environment variable.
    >
    > Curt
    >
    >

    Curt,

    Thanks! Can you give me a clue as to where to find this Environment
    Variable and how to get rid of it?
     
    Chuck Brotman, Jun 24, 2005
    #3
  4. Chuck Brotman

    Curt Hibbs Guest

    Chuck Brotman wrote:
    > "Curt Hibbs" <> wrote in message
    > news:...
    >
    >>Chuck Brotman wrote:
    >>
    >>>I've been trying out Freeride and when I try to run my program using the
    >>>debugger, it always stops on the line "require rubygems" in file
    >>>ubygems.rb Neither the file nor the include were put there by me. Is
    >>>there a way to stop this behavior?

    >>
    >>This is because the environment variable RUBYOPT is set to "rubygems.rb'
    >>which causes ruby to startup automatically using rubygems. If you don't
    >>want automatic access to any installed rubygems, then just get rid of this
    >>environment variable.
    >>
    >>Curt
    >>
    >>

    >
    > Curt,
    >
    > Thanks! Can you give me a clue as to where to find this Environment
    > Variable and how to get rid of it?


    If you're using Windows, right click on "My Computer" and choose
    "Properties". The click on the "Advanced" tab and then on the
    "Environment Variables" button. Scroll down in the "System Variables"
    section until you see the "RUBYOPT" entry. Select it and click on the
    "Delete" button. Finally, "OK" your way out of the open dialog boxes.

    If you're using any other platform, then someone else will have you
    answer this for you.

    Curt
     
    Curt Hibbs, Jun 24, 2005
    #4
  5. Curt,



    "Curt Hibbs" <> wrote in message
    news:...
    > Chuck Brotman wrote:
    >> "Curt Hibbs" <> wrote in message
    >> news:...
    >>
    >>>Chuck Brotman wrote:
    >>>
    >>>>I've been trying out Freeride and when I try to run my program using the
    >>>>debugger, it always stops on the line "require rubygems" in file
    >>>>ubygems.rb Neither the file nor the include were put there by me. Is
    >>>>there a way to stop this behavior?
    >>>
    >>>This is because the environment variable RUBYOPT is set to "rubygems.rb'
    >>>which causes ruby to startup automatically using rubygems. If you don't
    >>>want automatic access to any installed rubygems, then just get rid of
    >>>this environment variable.
    >>>
    >>>
    >>>
    >>>

    >>
    >> Curt,
    >>
    >> Thanks! Can you give me a clue as to where to find this Environment
    >> Variable and how to get rid of it?

    >
    > If you're using Windows, right click on "My Computer" and choose
    > "Properties". The click on the "Advanced" tab and then on the "Environment
    > Variables" button. Scroll down in the "System Variables" section until you
    > see the "RUBYOPT" entry. Select it and click on the "Delete" button.
    > Finally, "OK" your way out of the open dialog boxes.
    >
    > If you're using any other platform, then someone else will have you answer
    > this for you.
    >
    > Curt
    >
    >
    >


    Curt

    Yes, I'm on Windows. and Yes the environment variable was set. And Yes, I
    reset it. and Yes, it fixed the behavior. Thank You!
    Chuck
     
    Chuck Brotman, Jun 24, 2005
    #5
    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. Curt Hibbs
    Replies:
    7
    Views:
    134
    Joey Gibson
    Nov 17, 2003
  2. Snoopy Dog
    Replies:
    1
    Views:
    95
    Snoopy Dog
    Oct 18, 2006
  3. Ashley Moran
    Replies:
    0
    Views:
    194
    Ashley Moran
    Oct 28, 2006
  4. Robert Oschler
    Replies:
    1
    Views:
    248
    Mcginkel
    Sep 5, 2005
  5. aflat362
    Replies:
    7
    Views:
    237
    naixn
    Dec 7, 2006
Loading...

Share This Page