@[inst]Modify the way of checking  blank string & remove unnecessary
Rails installation(duplicate)