Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > freeride debugger issue

Reply
Thread Tools

freeride debugger issue

 
 
Chuck Brotman
Guest
Posts: n/a
 
      06-24-2005
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?


 
Reply With Quote
 
 
 
 
Curt Hibbs
Guest
Posts: n/a
 
      06-24-2005
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


 
Reply With Quote
 
 
 
 
Chuck Brotman
Guest
Posts: n/a
 
      06-24-2005
"Curt Hibbs" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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?


 
Reply With Quote
 
Curt Hibbs
Guest
Posts: n/a
 
      06-24-2005
Chuck Brotman wrote:
> "Curt Hibbs" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>
>>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



 
Reply With Quote
 
Chuck Brotman
Guest
Posts: n/a
 
      06-24-2005
Curt,



"Curt Hibbs" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Chuck Brotman wrote:
>> "Curt Hibbs" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>
>>>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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help getting a debugger going for IE - any free debugger aflat362 Javascript 7 12-07-2006 10:51 PM
FreeRIDE on Mac OS X (or anything with a working debugger) Ashley Moran Ruby 0 10-28-2006 03:57 PM
Newbie Help request on Freeride Debugger Snoopy Dog Ruby 1 10-18-2006 12:12 AM
Neither IE-Debugger or Mozilla/Venkman debugger can step through dynamically added code? Robert Oschler Javascript 1 09-05-2005 07:17 AM
how to access FreeRide sources? me Ruby 0 09-05-2003 03:36 PM



Advertisments