Reputation: 8730
config.paperclip_defaults = {
storage: :s3,
:s3_region => 'ap-southeast-1',
s3_credentials: {
bucket: 'sjoobing',
access_key_id: '',
secret_access_key: '',
}
}
When i upload file then gething this error
Upvotes: 4
Views: 6724
Reputation: 529
The following works for me :
sudo apt-get install ntpdate
sudo ntpdate -s time.nist.gov
Upvotes: 4
Reputation: 14523
The time on your server is out of sync with the current time. Sync up your system clock and the problem will go away.
Check this guide for syncing the timing
http://www.howtogeek.com/tips/how-to-sync-your-linux-server-time-with-network-time-servers-ntp/
Upvotes: 1