Gary Traffanstedt

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Rails 5.2 - Encrypted Credentials Discussion

Just a note for anyone else that might get an error about it not being able to find master.key. Make sure you are in the root directory of your app. I was in the config directory on the command line and it took me a bit to realize what the problem was. I think the command should be updated to check what directory it is being called from. Anyway, once I solved that riddle your directions worked great!

Posted in Disaster recover plan?!

Ok, that makes sense.

Posted in Disaster recover plan?!

You said if file uploads are on S3 no need to backup. Does S3 have automatic backups?

Posted in Change Domain of Server?

The steps required depend on what server you're using but basically you're just changing your server configuration so it responds to the new domain. I use nginx and something like the following would work:
server {
listen 80;
server_name old.example.com;
return 301 http://new.example.com$request_uri;
}
I'm on mobile and can't select to do that in a code block. What this block does is send a 301 which states the content has moved. Anything in search engines or bookmarked wont suddenly stop working

Can you post the exact error message? Try running bundle update. That will likely resolve your issue.