I need to do require 'openssl'
in my code. Otherwise, I get NameError: uninitialized constant Object::OpenSSL
. But, when I do gem list
, I don't see openssl
. I'm deploying a Sinatra app to Heroku stack bamboo-mri-1.9.2. Should I add openssl
to the Gemfile
? I don't think so because I think openssl
is part of the Ruby Standard Library. Also, what about base64
?
相关问题
- Mechanize getting “Errno::ECONNRESET: Connection r
- How to specify memcache server to Rack::Session::M
- Why am I getting a “C compiler cannot create execu
- reference to a method?
- Connecting Python to a Heroku PostgreSQL DB?
相关文章
- Ruby using wrong version of openssl
- Difference between Thread#run and Thread#wakeup?
- how to call a active record named scope with a str
- Django/Heroku: FATAL: too many connections for rol
- “No explicit conversion of Symbol into String” for
- Segmentation fault with ruby 2.0.0p247 leading to
- How to detect if an element exists in Watir
- Heroku Web Server Won't Start Locally
It's very likely that you have compiled ruby without openssl support. If you are using RVM, you can try this