[MacRuby] #398: Trouble loading gem
#398: Trouble loading gem ---------------------------------------+------------------------------------ Reporter: hungerandthirst@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: gems, macruby, load, defined ---------------------------------------+------------------------------------ Trying to load the Grit gem by using {{{ require 'rubygems' require 'grit' include Grit }}} and I get '''unrecognized defined? arg: 21 (NODE_AND)''' -- Ticket URL: <http://www.macruby.org/trac/ticket/398> MacRuby <http://macruby.org/>
#398: Trouble loading gem ---------------------------------------+------------------------------------ Reporter: hungerandthirst@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: gems, macruby, load, defined ---------------------------------------+------------------------------------ Comment(by conradwt@…): You shouldn't have to `require 'rubygems'` in Ruby 1.9.1 or greater. Thus, you might want to try the following: {{{ require 'grit' include Grit' }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/398#comment:1> MacRuby <http://macruby.org/>
#398: Trouble loading gem ---------------------------------------+------------------------------------ Reporter: hungerandthirst@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: gems, macruby, load, defined ---------------------------------------+------------------------------------ Comment(by lsansonetti@…): Conrad, this looks like a bug in the compiler, it's unrelated to your comment. -- Ticket URL: <http://www.macruby.org/trac/ticket/398#comment:2> MacRuby <http://macruby.org/>
#398: Trouble loading gem ---------------------------------------+------------------------------------ Reporter: hungerandthirst@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: gems, macruby, load, defined ---------------------------------------+------------------------------------ Comment(by eloy.de.enige@…): See this discussion from sept. 17th for more info: http://lists.macosforge.org/pipermail/macruby- devel/2009-September/002511.html -- Ticket URL: <http://www.macruby.org/trac/ticket/398#comment:3> MacRuby <http://macruby.org/>
#398: Trouble loading gem ---------------------------------------+------------------------------------ Reporter: hungerandthirst@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: gems, macruby, load, defined ---------------------------------------+------------------------------------ Comment(by hungerandthirst@…): Does the case formatting change in the discussion listed serve as a viable workaround for this issue until the compiler is fixed? -- Ticket URL: <http://www.macruby.org/trac/ticket/398#comment:4> MacRuby <http://macruby.org/>
#398: Trouble loading gem ---------------------------------------+------------------------------------ Reporter: hungerandthirst@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: gems, macruby, load, defined ---------------------------------------+------------------------------------ Comment(by lsansonetti@…): There is definitely a bug in the compiler, but I think there is a bug in the Ruby code too, this defined? expression is probably not doing what it's meant to. -- Ticket URL: <http://www.macruby.org/trac/ticket/398#comment:5> MacRuby <http://macruby.org/>
#398: Trouble loading gem ------------------------------------------+--------------------------------- Reporter: hungerandthirst@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: gems, macruby, load, defined | ------------------------------------------+--------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: Should be fixed in r2895. -- Ticket URL: <http://www.macruby.org/trac/ticket/398#comment:6> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby