[MacRuby-devel] [MacRuby] #406: Can't load gem grit.
MacRuby
ruby-noreply at macosforge.org
Tue Oct 27 21:28:30 PDT 2009
#406: Can't load gem grit.
---------------------------------------+------------------------------------
Reporter: hungerandthirst@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.5
Component: MacRuby | Keywords: rubygems, grit, gems
---------------------------------------+------------------------------------
Sorry to be so specific about not being able to load a specific gem.
I do this:
{{{
require 'rubygems'
require 'grit'
include Grit
}}}
and get
{{{
in `require:': undefined method `[]' for nil:NilClass (NoMethodError).
}}}
It seems to be coming from the
{{{
require 'rubygems'
}}}
inside of grit.rb. If I disable this line, it includes it with the
following warnings:
{{{
unknown: warning: already initialized constant VERSION
unknown: warning: already initialized constant MEDIA_TYPE_RE
unknown: warning: already initialized constant UNREG_RE
unknown: warning: already initialized constant ENCODING_RE
unknown: warning: already initialized constant PLATFORM_RE
unknown: warning: already initialized constant SIGNATURES
unknown: warning: already initialized constant IANA_URL
unknown: warning: already initialized constant RFC_URL
unknown: warning: already initialized constant DRAFT_URL
unknown: warning: already initialized constant LTSW_URL
unknown: warning: already initialized constant CONTACT_URL
unknown: warning: can't register `extensions' as an KVO setter on class
`MIME::Type' (method `setExtensions:')
unknown: warning: can't register `encoding' as an KVO setter on class
`MIME::Type' (method `setEncoding:')
unknown: warning: can't register `system' as an KVO setter on class
`MIME::Type' (method `setSystem:')
unknown: warning: can't register `obsolete' as an KVO setter on class
`MIME::Type' (method `setObsolete:')
unknown: warning: can't register `docs' as an KVO setter on class
`MIME::Type' (method `setDocs:')
unknown: warning: can't register `url' as an KVO setter on class
`MIME::Type' (method `setUrl:')
unknown: warning: can't register `registered' as an KVO setter on class
`MIME::Type' (method `setRegistered:')
unknown: warning: already initialized constant VERSION
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/406>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list