RubyInline and Digest::Base error


M

Martin Hansen

Hello,


I want to use RubyInline (3.9.0), but get errors:

irb(main):001:0> require 'inline'
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
/home/maasha/Install/maasha_install/lib/ruby/gems/1.9.1/gems/RubyInline-3.9.0/lib/inline.rb:51:in
`<top (required)>'
from <internal:lib/rubygems/custom_require>:33:in `require'
from <internal:lib/rubygems/custom_require>:33:in `rescue in
require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from (irb):1
from /home/maasha/Install/maasha_install/bin/irb:12:in `<main>'

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 /home/maasha/Install/maasha_install/bin/irb:12:in `<main>'

uname -a
Linux maxwell 2.6.31.5 #1 SMP Fri Nov 6 17:07:54 CET 2009 x86_64
GNU/Linux

ruby --version
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]

I have tested on two different linux machines and my Mac. Also with
ruby-1.9.1-p129. Same same ...

How to resolve this?

Cheers,


Martin
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top