Handles Ruby version in gemspec