From: yf kuanfai Date: 2011-01-20T13:11:48+09:00 Subject: Unsupported digest algorithm (sha256). Hi, Anybody can help me on this error: /usr/local/lib/ruby/1.8/openssl/digest.rb:55:in `initialize': Unsupported digest algorithm (sha256). (RuntimeError) from /usr/local/lib/ruby/1.8/openssl/digest.rb:55:in `initialize' from /export/home/prjer/er/app/controllers/register_controller.rb:7:in `new' from /export/home/prjer/er/app/controllers/register_controller.rb:7 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' but i can run the command: $ ruby -ropenssl -e 'p OpenSSL::Digest::Digest.new("sha256")' # $ ruby -e "puts require('openssl')" true from other's post, i also get this: $ gem search openSSL -r *** REMOTE GEMS *** jruby-openssl (0.7.2) JRuby-OpenSSL (0.1) openssl-extensions (1.0.0) openssl-nonblock (0.2.1) pftg-jruby-openssl (0.5.3) ruby-hmac-openssl (0.1.0) tem_openssl (0.3.6) Appreciate the help in advance. -- Posted via http://www.ruby-forum.com/.