From: botp Date: 2010-12-16T17:56:23+09:00 Subject: Re: Help a beginner On Thu, Dec 16, 2010 at 2:30 PM, Guille Lopez wrote: > It seems my ruby version is not accepting: > OpenSSL::Digest::Digest.new('sha256') > It's showing the error: Unsupported digest algorithm (sha256). probably not a ruby version problem, eg $ rvm exec ruby -v -ropenssl -e "p OpenSSL::Digest::Digest.new('sha256')" ruby 1.9.2dev (2010-07-11 revision 28618) [i686-linux] # ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux] # ruby 1.9.2dev (2010-07-02 revision 28524) [i686-linux] # ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux] # ruby 1.9.2dev (2010-05-31 revision 28117) [i686-linux] # ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-linux] e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] # ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux] # ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux] # but i'm on linux. try first in irb. see if you still get the error. if not, some gem you're loading is screwed... require the gems one at a time to capture the culprit.. best regards -botp