Hi,
I''m trying to install the native ruby tmail gem.
http://tmail.rubyforge.org/
doesn''t describe how to do this, that I could find, although it does
say that
this should work when a C compiler is not present.
Here''s[1] the result of
$ jruby -S gem install tmail
How do I force a pure ruby install in this case?
Btw, I also tried this on a Windows machine without a C compiler and it failed
in exactly the same way.
--
Best,
Marc
[1]
Building native extensions. This could take a while...
/home/marc/jruby/lib/ruby/1.8/mkmf.rb:7: JRuby does not support native
extensions. Check wiki.jruby.org for alternatives. (NotImplementedError)
from /home/marc/jruby/lib/ruby/1.8/mkmf.rb:1:in `require''
from extconf.rb:1
ERROR: Error installing tmail:
ERROR: Failed to build gem native extension.
/home/marc/jruby/bin/jruby extconf.rb
On Mon, May 4, 2009 at 4:47 PM, Amitabh Jain <ajain101 at gmail.com> wrote:> On Fri, May 1, 2009 at 1:08 AM, Marc Cooper <M8R-f9xidb at mailinator.com> >> How do I force a pure ruby install in this case?I am not sure if tmail will automagically fail over without C extensions, but if you don''t have the c extensions installed, it _should_ just run in ruby fine by itself. If you extract the tmail tar ball and get the lib/ directory with tmail.rb in it and require that you should be fine. Just nuke the ext directory from memory. Mikel