Using Grunt with a Rails project served via RVM

Posted by & filed under Ruby on Rails, Web Development.

Using typical Grunt deployment scripts works fine, except there is a trick to run a bundle update using the Gems installed via a single user RVM install: ‘bundle-update’: { command: “[[ -s \"/home/username/.rvm/scripts/rvm\" ]] && source \”/home/username/.rvm/scripts/rvm\” && cd /path/to/project/ && bundle update” } This runs the RVM shell init commands saved to your shell’s… Read more »