June 10, 2015

Setting up Ruby+Compass in Vagrant

For a variety of reasons, it appears the default frontend_config.sh bash script does not work 100% of the time in the litwicki-lemp vagrant box. So, I’ve added a simple manual step-by-step of the bash script that works. If anyone can figure out what I’ve done wrong in the bash script I’d be forever grateful!

May 21, 2015

Automate install and setup of RVM/Ruby with Compass/Sass in Vagrant

My teams use development environments powered by Vagrant, which I¬†highly recommend. This however requires we either maintain or manage a variety of recipes/cookbooks, or that we bootstrap our dev virtual machines identically. I generally prefer the latter to avoid issues with connecting to Chef that have burned me in the past, or just general third-party woes. Bootstrapping an app then requires some scripting to properly setup Ruby and thereby Compass and Sass gems which we use for compiling our assets. That being said, we’ve chosen to use RVM instead of rbenv or any of the alternatives just because it suits us best. I’m not evangelical one way or the other….