I did see it, but since the gem does actually seem to work with DietRB, I didn't want to go into that, yet. Brad, could you please check where/what code is Calling IRB::Irb? I think it’s another lib, maybe something like Wirble. In which case, please see this ticket: https://www.macruby.org/trac/ticket/747. If it’s another lib/different problem, please create a ticket and assign it to me. Thanks, Eloy On Oct 6, 2010, at 11:00 AM, Joshua Ballanco wrote:
Ah...didn't catch the second error there with IRB::Irb...seems like a bug in DietRB. I know there was a certain someone looking for bug reports on DietRB...
On Oct 6, 2010, at 1:56 AM, Brad Hutchins wrote:
macirb not working
get the same result.
localhost:~ Brad$ rvm macruby-0.7
localhost:~ 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:~ Brad$
localhost:~ Brad$ macgem install awesome_print unknown: warning: ignoring alias Successfully installed awesome_print-0.2.1 1 gem installed
localhost:~ 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:~ Brad$
On Wed, Oct 6, 2010 at 1:20 AM, <macruby-devel-request@lists.macosforge.org> wrote: Send MacRuby-devel mailing list submissions to macruby-devel@lists.macosforge.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel or, via email, send a message with subject or body 'help' to macruby-devel-request@lists.macosforge.org
You can reach the person managing the list at macruby-devel-owner@lists.macosforge.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of MacRuby-devel digest..."
Today's Topics:
1. Re: [ANN] MacRuby 0.7 (Antony Blakey) 2. Re: macirb or not working with awesome_print (Joshua Ballanco) 3. Sequel + SQLite Crash SIGABRT (Mario Steele) 4. Tutorial for the new Sandbox class. (Rob Gleeson) 5. Re: Tutorial for the new Sandbox class. (Laurent Sansonetti) 6. Re: Sequel + SQLite Crash SIGABRT (Laurent Sansonetti)
----------------------------------------------------------------------
Message: 1 Date: Wed, 6 Oct 2010 16:10:04 +1030 From: Antony Blakey <antony.blakey@gmail.com> To: "MacRuby development discussions." <macruby-devel@lists.macosforge.org> Subject: Re: [MacRuby-devel] [ANN] MacRuby 0.7 Message-ID: <B1A2CF09-DEE9-4BDE-BE7D-00568037CBC8@gmail.com> Content-Type: text/plain; charset=us-ascii
On 06/10/2010, at 3:08 PM, russell muetzelfeldt wrote:
On 06/10/2010, at 1:00 AM, macruby-devel-request@lists.macosforge.org wrote:
After 5 months of development since the last release, MacRuby 0.7 is now available. Get it here while it's still hot!
cool!
Now that 0.7 is out I've just tried to "macgem install control_tower", but it's warning me that it'll stomp (at least) on the existing /usr/bin/rackup from my OSX standard ruby 1.8.7 install. I guess this is more a RubyGems question, but is there an easy way to specify a different install directory for gem executables?
http://rvm.beginrescueend.com/ ? or use bundler from rails (which IIUC is independent of rails)
Antony Blakey ------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787
It is no measure of health to be well adjusted to a profoundly sick society. -- Jiddu Krishnamurti
------------------------------
Message: 2 Date: Tue, 5 Oct 2010 23:38:18 -0700 From: Joshua Ballanco <joshua.ballanco@apple.com> To: "MacRuby development discussions." <macruby-devel@lists.macosforge.org> Subject: Re: [MacRuby-devel] macirb or not working with awesome_print Message-ID: <3B4F47A6-D13C-4817-BA33-493CD23E040A@apple.com> Content-Type: text/plain; charset="us-ascii"
Hi Brad,
What's happening here is that the 'gem' command that ships with MacRuby is named 'macgem'. However, 'macirb' still looks at the same .irbrc file that the system 'irb' command does. So, if you've put in a require for awesome_print into your .irbrc, then 'macirb' will look for it but not find it.
Try running 'macgem install awesome_print' instead and let us know how it goes.
Cheers,
Josh
On Oct 5, 2010, at 10:29 PM, Brad Hutchins wrote:
"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>
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel