Fixed gems on production and dev and also config for photos