Running a Rake task with Elastic Beanstalk Have you ever needed to run a rake task (or any other comand for that matter) on a deployed instance but then realized you didn't have the the required environment variables loaded into your shell? Here's a short shell script to the rescue: #!/bin/
Programming How to install node & yarn on AWS Elastic Beanstalk for Ruby platform Ruby on Rails 6 now relies on webpack to deal with asset compilation so you will absolutely need to have node and yarn installed on the deployment instances. Here's how