sprout-wrap
Prerequisites
Download and install XCode or the XCode command line tools.
Installation
To provision your machine, open up Terminal and enter the following:
sudo xcodebuild -license
xcode-select --install
git clone https://github.com/pivotal-sprout/sprout-wrap.git
cd sprout-wrap
caffeinate ./sprout
The caffeinate
command will keep your computer awake while installing; depending on your network connection, soloist can take from 10 minutes to 2 hours to complete.
Problems?
clang error
If you receive errors like this:
clang: error: unknown argument: '-multiply_definedsuppress'
then try downgrading those errors like this:
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future bundle
Command Line Tool Update Server
If you receive a message about the update server being unavailable and are on Mavericks, then you already have the command line tools.
Customization
This project uses soloist and librarian-chef to run a subset of the recipes in sprout's cookbooks.
Fork it to customize its attributes in soloistrc and the list of recipes you'd like to use for your team. You may also want to add other cookbooks to its Cheffile, perhaps one of the many community cookbooks. By default it configures an OS X Mavericks workstation for Ruby development.
Finally, if you've never used Chef before - we highly recommend you buy & watch this excellent 17 minute screencast by Ryan Bates.
Caveats
Homebrew
- Homebrew cask has been integrated with Homebrew proper. If you are experiencing problems installing casks and
have an older installation of Homebrew, running
brew uninstall --force brew-cask; brew update
should fix things. - If you are updating from an older version of sprout-wrap, your homebrew configuration in soloistrc might be under
node_attributes.sprout.homebrew.formulae
andnode_attributes.sprout.homebrew.casks
. These will need to be updated tonode_attributes.homebrew.formulas
(note the change from formulae to formulas) andnode_attributes.homebrew.casks
.
Roadmap
See Pivotal Tracker: https://www.pivotaltracker.com/s/projects/884116
Discussion List
Join [email protected] if you use Sprout.
References
- Slides from @hiremaga's lightning talk on Sprout at Pivotal Labs in June 2013
- Railscast on chef-solo by Ryan Bates (PAID)