Adjust carrierwave.rb to change buckets depending on rails environment; fix bugs in views.