Projects
Home     Blog     Install     New Ticket     View Tickets     Browse Source

Ticket #138 (new defect)

Opened 2 months ago

Last modified 6 weeks ago

macgem not working for me

Reported by: nick@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.4
Component: MacRuby Keywords:
Cc: nick@…

Description

Happens with any gem:

sudo macgem install rspec --no-rdoc --no-ri
2008-10-07 09:40:26.641 macruby[44972:a0b] *** +[RFC2253DN module_function]:
unrecognized selector sent to class 0x9311360
Bulk updating Gem source index for: http://gems.rubyforge.org/
Bulk updating Gem source index for: http://gems.github.com/
ERROR: While executing gem ... (TypeError)

can't convert nil into Hash

Something I'm doing wrong, perhaps? I'm on the 0.3 binary release.

Change History

  Changed 2 months ago by nick@…

  • cc nick@… added

Cc Me!

follow-up: ↓ 3   Changed 2 months ago by masterkain@…

try the current trunk:

sudo macgem install rspec --no-rdoc --no-ri
2008-10-07 18:50:38.050 macruby[4610:c0b] *** +[RFC2253DN module_function]: unrecognized selector sent to class 0x921d600
ERROR:  Error installing rspec:
	hoe requires  ()

I heard this is going to be fixed, both the unrecognized selector and the dependency (you have to look it up manually in gemspec for now).

in reply to: ↑ 2   Changed 2 months ago by nick@…

So in order to install gems right now, you have to hunt through all of the dependencies and install them one by one... and then those dependencies' dependencies? Whew... I'll probably just wait until it's fixed.

  Changed 7 weeks ago by lsansonetti@…

  • milestone set to MacRuby 0.4

Sorry about that, the RubyGems support is still very preliminary. I will try to address this problem in 0.4, I already know where it is.

  Changed 6 weeks ago by niall@…

Nick/Laurent,

I'm not sure installing gem dependancies one by one will even work. Right now macgem crashes fetching the spec:

[niall@Mac-Workstation MacRuby-trunk]$ sudo macgem search -r aws 2>&1 | head /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.0/net/http.rb:576: [BUG] destination 0xbfffded4 isn't in the auto zone MacRuby version 0.4 (ruby 1.9.0 2008-06-03) [universal-darwin9.0]

-- stack frame ------------

That's from -trunk, let me know if you want the full stack trace attached?

Note: See TracTickets for help on using tickets.