[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Rubygems?

rayreeves

6/15/2006 3:12:00 PM

Following the example in the manual I say:
E:\Ruby\work>ruby -r debug fact.rb
and get:
Debug.rb
Emacs support available.
e:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'

What's it trying to tell me?
Saying "require rubygems" in the code doesn't cut it

Ray Reeves



1 Answer

Tim Hoolihan

6/15/2006 3:43:00 PM

0

It's not an error, you are in debug mode (like gdb for c) and the first
statement being processed is a require. If you're trying to run it with
$DEBUG set to true so debug statements work, run it as

ruby -d fact.rb

rayreeves wrote:
> Following the example in the manual I say:
> E:\Ruby\work>ruby -r debug fact.rb
> and get:
> Debug.rb
> Emacs support available.
> e:/ruby/lib/ruby/site_ruby/1.8/ubygems.rb:4:require 'rubygems'
>
> What's it trying to tell me?
> Saying "require rubygems" in the code doesn't cut it
>
> Ray Reeves
>
>
>