[MacRuby] #1024: macgem "no such file to load"
MacRuby
ruby-noreply at macosforge.org
Sat Dec 4 15:37:17 PST 2010
#1024: macgem "no such file to load"
---------------------------------+------------------------------------------
Reporter: dra_k_oon@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.7
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
I tried to require "lzma" and get always the error message "no such file
to load -- lzma (LoadError)".
Here is what I did on the Terminal
$ macgem install ruby-lzma
Building native extensions. This could take a while...
Successfully installed ruby-lzma-0.4.3
1 gem installed
$macgem list
*** LOCAL GEMS ***
ruby-lzma (0.4.3)
$macruby -e 'require "lzma"'
no such file to load -- lzma (LoadError)
Here you can find the project home
https://github.com/ianlevesque/ruby-lzma
This also happens to other gems. If I check my profile folder
~/.gem/macruby/1.9.2/gems
I can see the folder "ruby-lzma-0.4.3"
But maybe MacRuby looks on very different location to load files because
require 'rubygems' passed with => true
I tried MacRuby 0.7 0.7.1 and nightly-2010-12-04
It is always the same result "no such file to load -- lzma (LoadError)"
--
Ticket URL: <http://www.macruby.org/trac/ticket/1024>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list