Rakefile should strip read VERSION

This commit is contained in:
Samuel Cochran 2011-06-23 23:48:19 +08:00
parent ad6b61edf3
commit ae9a324118

View File

@ -1,7 +1,7 @@
require 'rubygems'
version_file = File.expand_path __FILE__ + '/../VERSION'
version = File.read version_file
version = File.read(version_file).strip
spec_file = File.expand_path __FILE__ + '/../mailcatcher.gemspec'
spec = Gem::Specification.load spec_file