Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
OpenSSL::X509::Certificate.new(string) raises Exception ArgumentError occured, wrong number of arguments (1 for 0) #24
I'm getting an argument error within a Rails (3.1.7) Application when I do this:
The error mesage is: wrong number of arguments (1 for 0)
But, the weird thing that the code works when I run it in an unit test:
class TestCertificate < Test::Unit::TestCase
I'm using JRuby v184.108.40.206 and jruby-openssl v0.7.7