Also, can you just try "require 'digest/md5'" in irb?
irb(main):001:0> require 'digest/md5'
ArgumentError: undefined class/module Digest::Base
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from (irb):1
from /Users/maasha/maasha_install/bin/irb:12:in `<main>'
"Exception `ArgumentError' at
/Users/maasha/maasha_install/lib/ruby/1.9.1/x86_64-darwin10.6.0/digest/md5.bundle
- undefined class/module Digest::Base"
Also, can you just try "require 'digest/md5'" in irb?
irb(main):001:0> require 'digest/md5'
ArgumentError: undefined class/module Digest::Base
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from (irb):1
from /Users/maasha/maasha_install/bin/irb:12:in `<main>'
Okay, so the issue is in your ruby not RubyInline.
I updated my machine to 10.6.7 (uname: 10.7.0 and my previously
compiled 1.9.2 still works correctly. Can you try to install a fresh
build in another prefix (by hand, RVM, or homebrew) and see if the
same behavior is still present?
Thanks.
···
On Wed, Apr 20, 2011 at 8:55 AM, Martin Hansen <mail@maasha.dk> wrote:
Okay, so the issue is in your ruby not RubyInline.
I updated my machine to 10.6.7 (uname: 10.7.0 and my previously
compiled 1.9.2 still works correctly. Can you try to install a fresh
build in another prefix (by hand, RVM, or homebrew) and see if the
same behavior is still present?
If you still have the log for your Ruby compile lying around (and the
config file ./configure has generated), you could grep for OpenSSL
errors (that's what Ruby uses for SSL and, I think, crypto in
general).
···
On Wed, Apr 20, 2011 at 5:18 PM, Martin Hansen <mail@maasha.dk> wrote:
What is this Digest::Base anyway? Can we have it shot and killed?
--
Phillip Gawlowski
Though the folk I have met,
(Ah, how soon!) they forget
When I've moved on to some other place,
There may be one or two,
When I've played and passed through,
Who'll remember my song or my face.
Darwin mel.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29
15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386 i386
Linux bixeonws 2.6.32-30-server #59-Ubuntu SMP Tue Mar 1 22:46:09 UTC
2011 x86_64 GNU/Linux
What is this Digest::Base anyway?
"This abstract class provides a common interface to message digest
implementation classes written in C." Maybe both machines are missing
something so it didn't compile properly?
On Wed, Apr 20, 2011 at 11:34 AM, <brabuhr@gmail.com> wrote:
What is this Digest::Base anyway?
"This abstract class provides a common interface to message digest
implementation classes written in C." Maybe both machines are missing
something so it didn't compile properly?
I just remembered something I heard on IRC the other night, that Ruby
1.9 sometimes has a problem with MacPorts's OpenSSL. I don't know the
details, but that might be something to consider, if you Martin is
using MacPorts.
If you still have the log for your Ruby compile lying around (and the
config file ./configure has generated), you could grep for OpenSSL
errors (that's what Ruby uses for SSL and, I think, crypto in
general).