Skip to content

Instantly share code, notes, and snippets.

@hedgehog
Created December 9, 2010 09:39
Show Gist options
  • Select an option

  • Save hedgehog/734532 to your computer and use it in GitHub Desktop.

Select an option

Save hedgehog/734532 to your computer and use it in GitHub Desktop.
Example Gemfile creation and Bundler install
$ cat <<-EOT >/local/stacks/wordpress.gemfile
gem "cc-wordpress", :git => "git://github.com/cookbooks/cc-wordpress.git",
:ref => 'eb0203133d14587e90f4'
gem "cc-mysql", :git => "git://github.com/cookbooks/cc-mysql.git",
gem "cc-apache2", :git => "git://github.com/cookbooks/cc-apache2.git"
gem "cc-php", :git => "git://github.com/cookbooks/cc-php.git",
:branch => "qa"
gem "cc-openssl", :git =&> "git://github.com/cookbooks/cc-openssl.git"
EOT
$ bundle --gemfile /local/stacks/wordpress.gemfile \
--install-path /local/chef-repo/cookbooks/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment