[MacRuby-devel] macirb or not working with awesome_print

Brad Hutchins oshybrid at gmail.com
Tue Oct 5 22:29:42 PDT 2010


"DietRB" or "macirb" don't seem to be working after I install "gem
awesome_print"

I have to "gem uninstall awesome_print" to get it to work.

I am guessing DietRB may be the name of the IRB but it is still launches
with "macirb"



localhost:Homebrew Brad$ *rvm macruby*


localhost:Homebrew Brad$ *macruby -v*
MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, x86_64]
localhost:Homebrew Brad$ *DietRB*
-bash: DietRB: command not found


localhost:Homebrew Brad$ *macirb*
ap gem not found.  Try typing 'gem install awesome_print' to get super-fancy
output.
irb(main):001:0> *exit*

localhost:Homebrew Brad$ *gem install awesome_print*
unknown: warning: ignoring alias
Successfully installed awesome_print-0.2.1
1 gem installed
localhost:Homebrew Brad$ *macirb*
/Users/Brad/.irbrc:1:in `<main>': uninitialized constant IRB::Irb
(NameError)
from /usr/local/bin/macirb:13:in `block'
from /usr/local/bin/macirb:9:in `block'
from /usr/local/bin/macirb:3:in `<main>'

localhost:Homebrew Brad$ *DietRB*
-bash: DietRB: command not found


localhost:Homebrew Brad$ *rvm list*

rvm rubies

   jruby-1.5.2 [ x86_64-java ]
=> macruby-0.7 [ x86_64 ]
   rbx-1.0.1-20100603 [ x86_64 ]
   ruby-1.8.7-p302 [ x86_64 ]
   ruby-1.9.2-p0 [ x86_64 ]


localhost:Homebrew Brad$ *gem uninstall awesome_print*
Successfully uninstalled awesome_print-0.2.1
localhost:Homebrew Brad$ *macirb*
ap gem not found.  Try typing 'gem install awesome_print' to get super-fancy
output.
irb(main):001:0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20101005/942bf78b/attachment-0001.html>


More information about the MacRuby-devel mailing list