December 2008
6 posts
2 tags
Phusion Passenger 2.0.5 and Ruby
After an hour or so of configuring a new, fresh CentOS 5.2 server, primarily relying on yum repositories, I thought I was nearly done. I installed Apache2, Ruby, rubygems, passenger, …. I was good to go. Passenger spawn server: symbol lookup error: /usr/lib64/ruby/gems/1.8/gems/passenger-2.0.5/ext/passenger/native_support.so: undefined symbol: RARRAY_LEN *** Exception NoMethodError in...
Dec 10th
3 tags
git and opendiff
git config --global merge.tool opendiff
Dec 9th
2 tags
Remotely Securing CentOS
Lets assume you’ve got root access to a CentOS VPS. Further, lets assume you want to secure it in some way. Lets go with the following: First, create a new, non “root” user which will have sudo privileges. This creates the user, expires their password (prompting them to immediately change it), and sets the password empty. $ /usr/sbin/useradd my_user_name $ /usr/bin/chage -d...
Dec 8th
1 tag
Dec 8th
1 tag
OpenSSL::HMAC vs ruby-hmac Benchmarks
So, I’m writing a gem which requires an HMAC calculation. I came across the ruby-hmac gem, I assume to be maintained by Geoffrey Grosenbach, and was curious to investigate the performance differences between OpenSSL::HMAC and the ruby-hmac gem. I imagine one day, one other person, sometime between now and eternity, somewhere in the universe, maybe … might be interested in the...
Dec 4th
Dec 1st