Issue #6830 has been reported by kosaki (Motohiro KOSAKI).

----------------------------------------
Bug #6830: test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
https://bugs.ruby-lang.org/issues/6830

Author: kosaki (Motohiro KOSAKI)
Status: Assigned
Priority: Normal
Assignee: MartinBosslet (Martin Bosslet)
Category: ext
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-08-04 trunk 36617) [x86_64-darwin12.0.0]


When using homebrew openssl, following test failure was happen.

  2) Failure:
test_constants(OpenSSL::TestConfig) [/Users/kosaki/ruby/git/test/openssl/test_config.rb:27]:
Exception raised:
<#<Errno::ENOENT: No such file or directory - /usr/local/openssl-1.0.1c/openssl.cnf>>.

rough analysis.

homebrew installed openssl library to "/usr/local/Cellar/openssl/1.0.1c". 

and following program output "/usr/local/openssl-1.0.1c".

--------------------------
int main()
{
  printf("%s\n",	X509_get_default_cert_area());
  return 0;
}
--------------------------






-- 
http://bugs.ruby-lang.org/