add checking to length of card name

as the topic says
there shouldn't be a Gemfile here.