Fixing the order of operations for bundle instal and rake db:migrate