Download and install XCode 7 from the App Store
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
sudo gem install bundler
bundle install --path vendor/bundle
caffeinate bundle exec soloist
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.
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
If you receive a message about the update server being unavailable and are on Mavericks, then you already have the command line tools.
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.
- 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
.
See Pivotal Tracker: https://www.pivotaltracker.com/s/projects/884116
Join sprout-users@googlegroups.com if you use Sprout.
- Slides from @hiremaga's lightning talk on Sprout at Pivotal Labs in June 2013
- Railscast on chef-solo by Ryan Bates (PAID)