Skip to content

Instantly share code, notes, and snippets.

@seancribbs
Created January 30, 2012 14:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save seancribbs/1704534 to your computer and use it in GitHub Desktop.
Save seancribbs/1704534 to your computer and use it in GitHub Desktop.
require 'riak/cluster'
cluster = Riak::Cluster.new(:count => 4, :source => "/usr/local/Cellar/riak/1.0.3/libexec/bin", :root => "~/mycluster")
cluster.create
cluster.start
cluster.join
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment