[MacRuby] #586: "macgem build" fails.
#586: "macgem build" fails. -----------------------------+---------------------------------------------- Reporter: rob@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: macgem -----------------------------+---------------------------------------------- Hi, The "macgem build" command seems to fail with an IOError: {{{ Gem::Specification.new do |g| g.name = 'dummy' g.version = '1.0' g.authors = %w(Dummy) g.email = 'dummy@dummy.info' g.homepage = 'http://www.dummy.com' g.summary = "Dummy" g.description = "Dummy" g.files = Dir["."] end }}} Thanks -- Ticket URL: <http://www.macruby.org/trac/ticket/586> MacRuby <http://macruby.org/>
#586: "macgem build" fails. -----------------------------+---------------------------------------------- Reporter: rob@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: macgem -----------------------------+---------------------------------------------- Comment(by tpitale@…): I'm also having this problem in problem #640 with two example projects. This seems to be a more simple example. Feel free to close mine if duplicate, if that is the case. -- Ticket URL: <http://www.macruby.org/trac/ticket/586#comment:1> MacRuby <http://macruby.org/>
#586: "macgem build" fails. -----------------------------+---------------------------------------------- Reporter: rob@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: macgem -----------------------------+---------------------------------------------- Comment(by martinlagardette@…): The core problem is fixed, but macgem is still unable to generate correct .gem files because of an issue in our Zlib. Keeping the bug open meanwhile :-) -- Ticket URL: <http://www.macruby.org/trac/ticket/586#comment:2> MacRuby <http://macruby.org/>
#586: "macgem build" fails. -----------------------------+---------------------------------------------- Reporter: rob@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: macgem -----------------------------+---------------------------------------------- Comment(by tpitale@…): Replying to [comment:2 martinlagardette@…]: Is there a way around this problem? Can I build the gem with 1.9.2 and install with macgem? -- Ticket URL: <http://www.macruby.org/trac/ticket/586#comment:3> MacRuby <http://macruby.org/>
#586: "macgem build" fails. -----------------------------+---------------------------------------------- Reporter: rob@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: macgem -----------------------------+---------------------------------------------- Comment(by martinlagardette@…): Replying to [comment:3 tpitale@…]:
Replying to [comment:2 martinlagardette@…]:
Is there a way around this problem? Can I build the gem with 1.9.2 and install with macgem?
Sure, it should work :-) -- Ticket URL: <http://www.macruby.org/trac/ticket/586#comment:4> MacRuby <http://macruby.org/>
#586: "macgem build" fails. -----------------------------+---------------------------------------------- Reporter: rob@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: macgem -----------------------------+---------------------------------------------- Comment(by tpitale@…): Odd, when I do that it fails like so: unknown: warning: ignoring alias unknown: warning: ignoring alias ERROR: While executing gem ... (NoMethodError) undefined method `requirements' for nil:NilClass Any idea what causes that? -- Ticket URL: <http://www.macruby.org/trac/ticket/586#comment:5> MacRuby <http://macruby.org/>
#586: "macgem build" fails. -----------------------------+---------------------------------------------- Reporter: rob@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: macgem -----------------------------+---------------------------------------------- Comment(by martinlagardette@…): Replying to [comment:5 tpitale@…]:
Odd, when I do that it fails like so:
unknown: warning: ignoring alias unknown: warning: ignoring alias ERROR: While executing gem ... (NoMethodError) undefined method `requirements' for nil:NilClass
Any idea what causes that?
What gem are you trying to install? I tried with the two gems you cited on your bug report: {{{ $> cd /tmp/octopi && gem19 build octopi.gemspec WARNING: RDoc will not be generated (has_rdoc == false) ERROR: While executing gem ... (Errno::ENOENT) No such file or directory - README.rdoc $> cd /tmp/garb/ && gem19 build garb.gemspec WARNING: RDoc will not be generated (has_rdoc == false) Successfully built RubyGem Name: garb Version: 0.7.4 File: garb-0.7.4.gem $> sudo macgem install garb-0.7.4.gem Password: Successfully installed crack-0.1.7 Successfully installed activesupport-2.3.5 Successfully installed garb-0.7.4 3 gems installed $> }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/586#comment:6> MacRuby <http://macruby.org/>
#586: "macgem build" fails. -----------------------------+---------------------------------------------- Reporter: rob@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: macgem -----------------------------+---------------------------------------------- Comment(by tpitale@…): I just switched to the nightly, and the install works. The gems are tpitale-octopi and garb. Thanks! -- Ticket URL: <http://www.macruby.org/trac/ticket/586#comment:7> MacRuby <http://macruby.org/>
#586: "macgem build" fails. -----------------------------+---------------------------------------------- Reporter: rob@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: macgem | -----------------------------+---------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: Closing :) -- Ticket URL: <http://www.macruby.org/trac/ticket/586#comment:8> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby