freeride debugger issue

C

Chuck Brotman

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?
 
C

Curt Hibbs

Chuck said:
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
 
C

Chuck Brotman

Curt Hibbs said:
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?
 
C

Curt Hibbs

Chuck said:
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
 
C

Chuck Brotman

Curt,



Curt Hibbs said:
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
 

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,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top