Fixed exception error when execuate rake db:setup