Skip to content

Instantly share code, notes, and snippets.

@steadicat
Created August 27, 2010 19:55
Show Gist options
  • Select an option

  • Save steadicat/554064 to your computer and use it in GitHub Desktop.

Select an option

Save steadicat/554064 to your computer and use it in GitHub Desktop.
begin
RestClient.put("#{ENV['CLOUDANT_URL']}/SOMEDATABASE", "")
rescue
puts "database already created"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment