Removed uploads directory and ignores it in .gitignore.
Replaced carrierwave with paperclip.
all the changes to finally make it work