Author Archives: Ariejan de Vroom
Presentation: Heroku & Jeweler + Gemcutter
A small presentation by Ariejan on two topics:
Heroku – What is Heroku and how does it compare to Amazon EC2 and Kabisa’s Hosting
Jeweler + Gemcutter – How to use Jeweler to manage your gem and push it to gemcutter
Xen: How to fix “SIOCSIFADDR: No such device”
Yesterday I had to clone a VPS to run some CPU and memory intensive tests. With our current setup (Xen + LVM), cloning an image on the fly is easy.
After configuring a new IP address for the clone, I booted up the system. Nice, but I ran into a problem:
Configuring network interfaces...SIOCSIFADDR: No such [...]
Ruby and SSL Certificate Validation
If your ruby app is doing SSL, you have probably seen one of the following errors:
doc = Hpricot(open("https://www.cert.org/blogs/vuls/rss.xml")) # => /usr/lib/ruby/1.8/net/http.rb:590:in `connect': certificate verify failed (OpenSSL::SSL::SSLError)
or
warning: peer certificate won't be verified in this SSL session
The solution is to make sure ruby has access to the right set of root certificates.
Setup a self-signed SSL site with Apache2