littlelogs

Keep a social journal of your work progress as you make and learn things.

rpgdan
rpgdan
  • Published a new article on the site.
  • Early days but I’d say there’s been a small decrease in sales since the price rise. I need to work out if it’s a net win or not!
  • Yesterday I created a feature locally for better admin login and then spent a long time getting it to work on the staging server.

Capistrano was failing to install bcrypt. Somehow the bundler cache on the server didn’t have write permissions. Deleting the folder fixed it. But it took hours to discover that solution.

Adding: set :bundle_flags, '--deployment --verbose' to deploy.rb pointed me in the right direction.

I know my tools are out of date know and ansible is what people use but I really don’t want to update :)

I’ll try and move these changes to production tonight. Hopefully that will go smoother!

08 May

2 Heart

josh
josh

Ah, I didn’t know ansible was popular with Ruby folks too these days. I’ve used it to deploy and provision Python stuff, and it’s good, though complicated.

08 May