could only run rake db:populate in development environment.