Starting irb according to the man page 
Author Message
 Starting irb according to the man page

`man irb` claims I can start irb with

 % ruby -r irb -e0

but nothing happens.  Turning on warnings, I get:

 % ruby -w -r irb -e0
 /usr/local/pkgs/ruby/lib/ruby/1.7/irb/context.rb:129: warning: method redefined; discarding old irb_name
 /usr/local/pkgs/ruby/lib/ruby/1.7/irb/context.rb:200: warning: method redefined; discarding old math_mode=
 /usr/local/pkgs/ruby/lib/ruby/1.7/irb/context.rb:214: warning: method redefined; discarding old use_readline=
 -e:1: warning: useless use of a literal in void context

Confused,
--
Bil Kleb
NASA Langley Research Center
Hampton, {*filter*}ia, USA



Tue, 09 Nov 2004 23:37:25 GMT  
 Starting irb according to the man page

Quote:

> `man irb` claims I can start irb with

>  % ruby -r irb -e0

> but nothing happens.  Turning on warnings, I get:

>  % ruby -w -r irb -e0
>  /usr/local/pkgs/ruby/lib/ruby/1.7/irb/context.rb:129: warning: method redefined; discarding old irb_name
>  /usr/local/pkgs/ruby/lib/ruby/1.7/irb/context.rb:200: warning: method redefined; discarding old math_mode=
>  /usr/local/pkgs/ruby/lib/ruby/1.7/irb/context.rb:214: warning: method redefined; discarding old use_readline=
>  -e:1: warning: useless use of a literal in void context

I get the same behavior using Ruby 1.6.7 on Debian Woody.


Wed, 10 Nov 2004 00:50:50 GMT  
 Starting irb according to the man page

Quote:


> > `man irb` claims I can start irb with

> >  % ruby -r irb -e0

> > but nothing happens.

> I get the same behavior using Ruby 1.6.7 on Debian Woody.

Sorry, I'm using ruby 1.7.2 (2002-05-23) [i686-linux] compiled from
source on an updated RH 7.2 system.

--
Bil



Wed, 10 Nov 2004 00:56:03 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. TclX.n man pages (and pages and pages....)

2. iwidgets 3.0.0 man pages require man.macros

3. ANNOUNCE: tcltk-man-html9, 9th edition of hypertext Tcl/Tk man pages

4. ANNOUNCE: tcltk-man-html6, 6th edition of hypertext Tcl/Tk man pages

5. tcl/tk man pages use .HS, not .TH for title, so man -k does not work

6. Starting interactive shell/irb from within a script?

7. Ruby-newbie seeks help with Rubywin starting IRB

8. Missing file irb/irb.rb

9. irb ruby-script w/o exiting irb?

10. Process should not be started from app.men

11. man pages searched...

12. Man pages for MIT scheme.

 

 
Powered by phpBB® Forum Software