[MacRuby] #1201: macirb 0.10 does not start after trying to read .irbrc

MacRuby ruby-noreply at macosforge.org
Thu Mar 17 02:33:30 PDT 2011


#1201: macirb 0.10 does not start after trying to read .irbrc
--------------------------------------+-------------------------------------
 Reporter:  peter.dalmaris@…          |       Owner:  lsansonetti@…        
     Type:  defect                    |      Status:  new                  
 Priority:  major                     |   Milestone:  MacRuby 0.10         
Component:  MacRuby                   |    Keywords:  macirb               
--------------------------------------+-------------------------------------
 I have a fresh installation of macruby 0.10, which works fine. But trying
 to start macirb crashes with with the following message:

 19:01 ~ $ macirb
 /Users/peter/.irbrc:14:in `<main>': no such file to load -- irb/ext/save-
 history (LoadError)
         from /usr/local/bin/macirb:36:in `block'
         from /usr/local/bin/macirb:9:in `block'
         from /usr/local/bin/macirb:7:in `<main>'

 When I edit .irbrc to comment out lines 14-16 and try again, I get this
 message:

 /Users/peter/.irbrc:31:in `<main>': no such file to load -- wirble
 (LoadError)
         from /usr/local/bin/macirb:36:in `block'
         from /usr/local/bin/macirb:9:in `block'
         from /usr/local/bin/macirb:7:in `<main>'

 When I comment out lines 31-33 I get this message:

 /usr/local/bin/macirb:60:in `block': No such file or directory - open()
 failed (Errno::ENOENT)
         from /usr/local/bin/macirb:9:in `block'
         from /usr/local/bin/macirb:7:in `<main>'

 I have attached the .irbrc file. Also, I include my system's profile:

         Model Name:     MacBook Pro
           Model Identifier:     MacBookPro8,1
           Processor Name:       Intel Core i7
           Processor Speed:      2.7 GHz
           Number of Processors: 1
           Total Number of Cores:        2
           L2 Cache (per Core):  256 KB
           L3 Cache:     4 MB
           Memory:       4 GB
           Boot ROM Version:     MBP81.0047.B04
           SMC Version (system): 1.68f96

         System Version: Mac OS X 10.6.6 (10J3210)
           Kernel Version:       Darwin 10.7.1

         LLVM v2.9

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1201>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list