[MacRuby] #1024: macgem "no such file to load"

MacRuby ruby-noreply at macosforge.org
Sat Dec 4 15:42:03 PST 2010


#1024: macgem "no such file to load"
---------------------------------+------------------------------------------
 Reporter:  dra_k_oon@…          |        Owner:  lsansonetti@…        
     Type:  defect               |       Status:  closed               
 Priority:  blocker              |    Milestone:                       
Component:  MacRuby              |   Resolution:  invalid              
 Keywords:                       |  
---------------------------------+------------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  MacRuby 0.7 =>


Comment:

 You need to require rubygems first. MacRuby does not require rubygems by
 default, unlike Ruby 1.9.

 {{{
 $ sudo /usr/local/bin/macgem install ruby-lzma
 Building native extensions.  This could take a while...
 Successfully installed ruby-lzma-0.4.3
 1 gem installed
 $ /usr/local/bin/macruby -r rubygems -e "require 'lzma'; p 42"
 42
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1024#comment:1>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list