Use valid version number in gemspec
Do not use binary mode in Erubis.load_file

Using File.open(filename, 'rb') breaks Encoding compatibility in Ruby 1.9.